FLOOR(3) | FreeBSD Library Functions Manual | FLOOR(3) |
NAME
floor, floorf, floorl — largest integral value less than or equal to xLIBRARY
Math Library (libm, -lm)SYNOPSIS
#include < math.h> double
floor( double x);
float
floorf( float x);
long double
floorl( long double x);
DESCRIPTION
The floor(), floorf() and floorl() functions return the largest integral value less than or equal to x, expressed as a floating-point number.STANDARDS
The floor() function conforms to ISO/IEC 9899:1990 (“ISO C90”). The floorf() and floorl() functions conform to ISO/IEC 9899:1999 (“ISO C99”).January 13, 2005 | FreeBSD |