ceil, ceilf -- 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 the ceilf() functions return the smallest integral value
greater than or equal to x, expressed as a floating-point number.
abs(3), fabs(3), floor(3), ieee(3), math(3), rint(3)
The ceil() function conforms to ISO/IEC 9899:1990 (``ISO C89'').
FreeBSD 5.2.1 March 10, 1994 FreeBSD 5.2.1 [ Back ] |