.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH FLOOR 3 2016-03-15 "" "Linux Programmer's Manual"
+.TH FLOOR 3 2017-09-15 "" "Linux Programmer's Manual"
.SH NAME
floor, floorf, floorl \- largest integral value not greater than argument
.SH SYNOPSIS
.B #include <math.h>
.PP
.BI "double floor(double " x );
-.br
.BI "float floorf(float " x );
-.br
.BI "long double floorl(long double " x );
.fi
.PP
.SH DESCRIPTION
These functions return the largest integral value that is not greater than
.IR x .
-
+.PP
For example,
.IR floor(0.5)
is 0.0, and
.SH RETURN VALUE
These functions return the floor of
.IR x .
-
+.PP
If
.I x
is integral, +0, \-0, NaN, or an infinity,
.TE
.SH CONFORMING TO
C99, POSIX.1-2001, POSIX.1-2008.
-
+.PP
The variant returning
.I double
also conforms to