COHERENT manpages

This page displays the COHERENT manpage for floor() [Set a numeric floor].

List of available manpages
Index


floor() -- Mathematics Function (libm)

Set a numeric floor
#include <math.h>
double floor(z) double z;

floor() sets a numeric floor.  It returns a double-precision floating point
number whose value is the largest integer less than or equal to z.

Example

For an example of this function, see the entry for ceil().

See Also

abs(),
ceil(),
fabs(),
frexp(),
libm
ANSI Standard, §7.5.6.3
POSIX Standard, §8.1