FLOOR(3) BSD Programmer's Manual FLOOR(3)NAME
floor, floorf - round to largest integral value <= x
SYNOPSIS
#include <math.h>
double
floor(double x);
float
floorf(float x);
DESCRIPTION
The floor() and floorf() functions return the largest integral value
(represented as a double precision number) less than or equal to x.
SEE ALSOabs(3), ceil(3), fabs(3), ieee(3), math(3), rint(3)STANDARDS
The floor() function conforms to ANSI C X3.159-1989 (``ANSI C '').
BSDI BSD/OS March 10, 1994 1