man.bsd.lv manual page server

Manual Page Search Parameters

FLOOR(3) Library Functions Manual FLOOR(3)

floorlargest integral value not greater than x

#include <math.h>

double
floor(double x);

The () function computes the largest integral value not greater than x.

The floor() function returns the largest integral value expressed as a double.

abs(3), ieee(3), fabs(3), floor(3), rint(3), math(3)

The floor() function conforms to ANSI X3.159-1989 (“ANSI C89”).

4.4BSD-Lite2 June 4, 1993 FLOOR(3)