calc.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. #ifndef GRASS_CALCDEFS_H
  2. #define GRASS_CALCDEFS_H
  3. extern void calc_init(int);
  4. extern void pre_exec(void);
  5. extern void post_exec(void);
  6. extern func_t f_add;
  7. extern func_t f_sub;
  8. extern func_t f_mul;
  9. extern func_t f_div;
  10. extern func_t f_mod;
  11. extern func_t f_pow;
  12. extern args_t c_binop;
  13. extern func_t f_neg;
  14. extern func_t f_abs;
  15. extern func_t f_ceil;
  16. extern func_t f_floor;
  17. extern args_t c_unop;
  18. extern func_t f_gt;
  19. extern func_t f_ge;
  20. extern func_t f_lt;
  21. extern func_t f_le;
  22. extern func_t f_eq;
  23. extern func_t f_ne;
  24. extern args_t c_cmpop;
  25. extern func_t f_and;
  26. extern func_t f_or;
  27. extern func_t f_and2;
  28. extern func_t f_or2;
  29. extern func_t f_bitand;
  30. extern func_t f_bitor;
  31. extern func_t f_bitxor;
  32. extern args_t c_logop;
  33. extern func_t f_shiftl;
  34. extern func_t f_shiftr;
  35. extern func_t f_shiftru;
  36. extern args_t c_shiftop;
  37. extern func_t f_not;
  38. extern func_t f_bitnot;
  39. extern args_t c_not;
  40. extern func_t f_sqrt;
  41. extern func_t f_sin;
  42. extern func_t f_cos;
  43. extern func_t f_tan;
  44. extern func_t f_acos;
  45. extern func_t f_asin;
  46. extern args_t c_double1;
  47. extern func_t f_exp;
  48. extern func_t f_log;
  49. extern func_t f_atan;
  50. extern args_t c_double12;
  51. extern func_t f_int;
  52. extern args_t c_int;
  53. extern func_t f_float;
  54. extern args_t c_float;
  55. extern func_t f_double;
  56. extern args_t c_double;
  57. extern func_t f_round;
  58. extern args_t c_round;
  59. extern func_t f_eval;
  60. extern args_t c_eval;
  61. extern func_t f_if;
  62. extern args_t c_if;
  63. extern func_t f_isnull;
  64. extern args_t c_isnull;
  65. extern func_t f_graph;
  66. extern func_t f_graph2;
  67. extern args_t c_graph;
  68. extern func_t f_min;
  69. extern func_t f_max;
  70. extern func_t f_nmin;
  71. extern func_t f_nmax;
  72. extern args_t c_varop;
  73. extern func_t f_median;
  74. extern func_t f_nmedian;
  75. extern args_t c_median;
  76. extern func_t f_mode;
  77. extern func_t f_nmode;
  78. extern args_t c_mode;
  79. extern func_t f_rand;
  80. extern args_t c_binop;
  81. extern func_t f_null;
  82. extern args_t c_int0;
  83. extern args_t c_double0;
  84. #endif