| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Reference Volume 4, Section 3: Libraries > ffloor(3M) |
|
NAMEfloor(), floorf(), floorl(), floorw(), floorq() — floor functions DESCRIPTIONThe floor() returns the largest integer (represented as a double-precision number) not greater than x. IA-64 ONLY:floorf() is a float version of floor(); it takes a float argument and returns a float result. floorl() is a long double version of floor(); it takes a long double argument and returns a long double result. floorw() is an extended version of floor(); it takes an extended argument and returns an extended result. floorq() is equivalent to floorl() on HP-UX systems. USAGETo use (for IA-64 systems) floorf(), compile either with the default -Ae option or with the -Aa option. To use (for IA-64 systems) floorl(), floorw(), or floorq(), compile either with the default -Ae option or with the -Aa and -D_HPUX_SOURCE options. To use (for IA-64 systems) floorw() or floorq(), 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. |
||||||||||||||||||||||||||||
|
|||||||||||||||