NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO | STANDARDS
#include <math.h>double floor(double x);
The floor function computes the largest integral value not greater than x.
The floor function returns the largest integral value expressed as a double.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
The floor function conforms to ANSI-C.
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO | STANDARDS