opendarwin man page for floor

Query: floor

OS: opendarwin

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 -- round to largest integral value not greater than x
SYNOPSIS
#include <math.h> double floor(double x); float floorf(float x);
DESCRIPTION
The floor() and floorf() functions return the largest integral value less than or equal to x.
SPECIAL VALUES
floor(+-0) returns +-0. floor(+-infinity) returns +-infinity.
SEE ALSO
abs(3), ceil(3), fabs(3), ieee(3), rint(3), math(3)
STANDARDS
The floor() and floorf() functions conform to ISO/IEC 9899:1999(E).
BSD
November 20, 2002 BSD
Related Man Pages
rint(3m) - bsd
ceil(3m) - bsd
floorf(3) - redhat
floorl(3) - centos
floor(3m) - opensolaris
Similar Topics in the Unix Linux Community
FLOOR Func
Evacuate the Dancefloor
CEILING and FLOOR functions
Round floor behavior