ceil, ceilf - round to smallest integral value greater than or equal to x
Math Library (libm, -lm)
#include <math.h>
double
ceil(double x);
float
ceilf(float x);
The ceil() and ceilf() functions return the smallest integral value
greater than or equal to x.
abs(3), fabs(3), floor(3), ieee(3), math(3), rint(3)
The ceil() function conforms to ANSI X3.159-1989 (``ANSI C'').
BSD March 10, 1994 BSD
[ Back ] |