ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



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                              July 2, 2003                              BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.