| United States-English |
|
|
|
![]() |
HP-UX Reference > Cceil(3M)HP-UX 11i Version 3: February 2007 |
|
NAMEceil(), ceilf(), ceill(), ceilw(), ceilq() — ceiling functions DESCRIPTIONThe ceil() returns the smallest integer (represented as a double-precision number) not less than x. Integrity Server Onlyceilf() is a float version of ceil(); it takes a float argument and returns a float result. ceill() is a long double version of ceil(); it takes a long double argument and returns a long double result. ceilw() is an extended version of ceil(); it takes an extended argument and returns an extended result. ceilq() is equivalent to ceill() on HP-UX systems. USAGETo use (for Integrity servers) ceilf(), compile either with the default -Ae option or with the -Aa option. To use (for Integrity servers) ceill(), ceilw(), or ceilq(), compile either with the default -Ae option or with the -Aa and -D_HPUX_SOURCE options. To use (for Integrity servers) ceilw() or ceilq(), compile also with the -fpwidetypes option. To use these functions, make sure your program includes <math.h>. Link in the math library by specifying -lm on the compiler or linker command line. For more information, see the HP-UX floating-point guide for HP Integrity servers at the following site: http://www.hp.com/go/fp. |
||||||||||||||||||||||||||||
|
|||||||||||||||