Contents|Index|Previous|Next
floor,
floorf,
ceil,
ceilf
[floor and ceiling]
SYNOPSIS
#include <math.h>
double floor(double x);
float floorf(float x);
double ceil(double x);
float ceilf(float x);
DESCRIPTION
RETURNS
floor
and ceil
return the integer result as a double.
floorf
and ceilf
return the integer result as a float.
COMPLIANCE
floor
and ceil
are ANSI. floorf
and ceilf
are extensions.