GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-ab90c5e5a9
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 176 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 30 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.