floor, floorf -- largest integral value less than or equal to x
Math Library (libm, -lm)
#include <math.h>
double
floor(double x);
float
floorf(float x);
The floor() and the floorf() functions return the largest integral value
less than or equal to x, expressed as a floating-point number.
abs(3), ceil(3), fabs(3), ieee(3), math(3), rint(3)
The floor() function conforms to ISO/IEC 9899:1990 (``ISO C89'').
FreeBSD 5.2.1 March 10, 1994 FreeBSD 5.2.1 [ Back ] |