GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71942
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
calc.h File Reference
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/defs/calc.h>
Include dependency graph for calc.h:

Go to the source code of this file.

Data Structures

struct  func_desc
 

Macros

#define IS_NULL_C(x)   (Rast_is_c_null_value((x)))
 
#define IS_NULL_F(x)   (Rast_is_f_null_value((x)))
 
#define IS_NULL_D(x)   (Rast_is_d_null_value((x)))
 
#define SET_NULL_C(x)   (Rast_set_c_null_value((x),1))
 
#define SET_NULL_F(x)   (Rast_set_f_null_value((x),1))
 
#define SET_NULL_D(x)   (Rast_set_d_null_value((x),1))
 

Typedefs

typedef int func_t (int argc, const int *argt, void **args)
 
typedef int args_t (int argc, int *argt)
 
typedef struct func_desc func_desc
 

Enumerations

enum  {
  E_ARG_LO = 1, E_ARG_HI = 2, E_ARG_TYPE = 3, E_RES_TYPE = 4,
  E_INV_TYPE = 5, E_ARG_NUM = 6, E_WTF = 99
}
 

Variables

volatile int floating_point_exception
 
volatile int floating_point_exception_occurred
 
int columns
 
func_desc calc_func_descs []
 

Macro Definition Documentation

#define SET_NULL_F (   x)    (Rast_set_f_null_value((x),1))

Typedef Documentation

typedef int args_t(int argc, int *argt)

Definition at line 9 of file calc.h.

typedef struct func_desc func_desc
typedef int func_t(int argc, const int *argt, void **args)

Definition at line 8 of file calc.h.

Enumeration Type Documentation

anonymous enum
Enumerator
E_ARG_LO 
E_ARG_HI 
E_ARG_TYPE 
E_RES_TYPE 
E_INV_TYPE 
E_ARG_NUM 
E_WTF 

Definition at line 11 of file calc.h.

Variable Documentation

func_desc calc_func_descs[]

Definition at line 4 of file function.c.

volatile int floating_point_exception

Definition at line 9 of file calc.c.

Referenced by f_acos(), f_asin(), f_atan(), f_cos(), f_div(), f_exp(), f_log(), f_mod(), f_pow(), f_sin(), f_sqrt(), and f_tan().

volatile int floating_point_exception_occurred

Definition at line 10 of file calc.c.

Referenced by pre_exec().