floor(3m)
NAME
fabs, floor, ceil, rint − absolute value, floor, ceiling, and round-to-nearest functions
SYNTAX
#include <math.h>
double floor(x)
double x;
double ceil(x)
double x;
double fabs(x)
double x;
double rint(x)
double x;
DESCRIPTION
The fabs routine returns the absolute value |x|.
The floor routine returns the largest integer no greater than x.
The ceil routine returns the smallest integer no less than x.
The rint routine returns the integer (represented as a double precision number) nearest x in the direction of the prevailing rounding mode.