manpagez: man (manual) pages & more
man ceil(3)
Home | html | info | man
ceil(3)                  BSD Library Functions Manual                  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).

BSD                            December 11, 2006                           BSD

Mac OS X 10.6 - Generated Thu Sep 17 20:18:45 CDT 2009