CEIL(3) BSD Programmer's Manual CEIL(3)NAME
ceil, ceilf - round to smallest integral value >= x
SYNOPSIS
#include <math.h>
double
ceil(double x);
float
ceilf(float x);
DESCRIPTION
The ceil() and the ceilf() functions return the smallest integral value
(represented as a double precision number) greater than or equal to x.
SEE ALSOabs(3), fabs(3), floor(3), ieee(3), math(3), rint(3)STANDARDS
The ceil() function conforms to ANSI C X3.159-1989 (``ANSI C '').
BSDI BSD/OS March 10, 1994 1