5 #include <grass/raster.h> 6 #include <grass/calc.h> 13 int f_double(
int argc,
const int *argt,
void **args)
23 if (argt[0] != DCELL_TYPE)
32 if (IS_NULL_C(&arg1[i]))
35 res[i] = (DCELL) arg1[i];
40 FCELL *arg1 = args[1];
43 if (IS_NULL_F(&arg1[i]))
46 res[i] = (DCELL) arg1[i];
51 DCELL *arg1 = args[1];
54 if (IS_NULL_D(&arg1[i]))
57 res[i] = (DCELL) arg1[i];
int f_double(int argc, const int *argt, void **args)
int c_double(int argc, int *argt)