Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

floorf(3) [freebsd man page]

FLOOR(3)						   BSD Library Functions Manual 						  FLOOR(3)

NAME
floor, floorf, floorl -- largest integral value less than or equal to x LIBRARY
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. SEE ALSO
abs(3), ceil(3), fabs(3), ieee(3), math(3), rint(3), round(3), trunc(3) 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''). BSD
January 13, 2005 BSD

Check Out this Related Man Page

floor(3M)						  Mathematical Library Functions						 floor(3M)

NAME
floor, floorf, floorl - floor function SYNOPSIS
cc [ flag... ] file... -lm [ library... ] #include <math.h> double floor(double x); float floorf(float x); long double floorl(long double x); DESCRIPTION
These functions compute the largest integral value not greater than x. RETURN VALUES
Upon successful completion, these functions return the largest integral value not greater than x, expressed as a double, float, or long double, as appropriate for the return type of the function. If x is NaN, a NaN is returned. If x is +-Inf or +-0, x is returned. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
ceil(3M), feclearexcept(3M), fetestexcept(3M), isnan(3M), math.h(3HEAD), attributes(5), standards(5) SunOS 5.10 1 Sep 2002 floor(3M)
Man Page