ceil, ceilf,
ceill — smallest integral
value greater than or equal to x
#include
<math.h>
double
ceil(double
x);
float
ceilf(float
x);
long double
ceill(long
double x);
The
ceil(),
ceilf()
and
ceill()
functions return the smallest integral value greater than or equal to
x, expressed as a floating-point number.
The ceil() function conforms to
ISO/IEC 9899:1990 (“ISO C90”).
The ceilf() and ceill()
functions conform to ISO/IEC 9899:1999
(“ISO C99”).