CEIL(3)

NAME
ceil - round to smallest integral value not less than x

SYNOPSIS
#include <math.h>
double
ceil(double x);
long double
ceill(long double x);
float
ceilf(float x);

DESCRIPTION
The ceil() functions return the smallest integral value greater than or equal to x.

SPECIAL VALUES
ceil(±0) returns ±0.

ceil(±infinity) returns ±infinity.

SEE ALSO
abs(3), fabs(3), floor(3), rint(3), math(3)

STANDARDS
The ceil() functions conform to ISO/IEC 9899:1999(E).