freebsd man page for floor

Query: floor

OS: freebsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
Related Man Pages
floorl(3) - redhat
ceil(3) - osf1
floor(3) - osf1
floorf(3m) - sunos
floorf(3m) - opensolaris
Similar Topics in the Unix Linux Community
FLOOR Func
Evacuate the Dancefloor
CEILING and FLOOR functions
Round floor behavior