CEIL(3) OpenBSD Programmer's Manual CEIL(3)NAME
ceil, ceilf - round to smallest integral value greater than or equal to x
SYNOPSIS
#include <math.h>
double
ceil(double x);
float
ceilf(float x);
DESCRIPTION
The ceil() function returns the smallest integral value greater than or
equal to x. The ceilf() function is a single precision version of
ceil().
SEE ALSOabs(3), fabs(3), floor(3), math(3), nextafter(3), rint(3)STANDARDS
The ceil() function conforms to ANSI X3.159-1989 (``ANSI C'').
OpenBSD 4.9 August 3, 2009 OpenBSD 4.9