GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
xround.c File Reference
#include <limits.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/calc.h>
Include dependency graph for xround.c:

Go to the source code of this file.

Functions

int f_round (int argc, const int *argt, void **args)
 
int c_round (int argc, int *argt)
 

Function Documentation

◆ c_round()

int c_round ( int  argc,
int *  argt 
)

Definition at line 183 of file xround.c.

References CELL_TYPE, DCELL_TYPE, E_ARG_HI, and E_ARG_LO.

◆ f_round()

int f_round ( int  argc,
const int *  argt,
void **  args 
)

Definition at line 31 of file xround.c.

References CELL_TYPE, columns, DCELL_TYPE, E_ARG_HI, E_ARG_LO, E_ARG_TYPE, E_RES_TYPE, IS_NULL_D, SET_NULL_C, and x.