.\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
.\" <mtk.manpages@gmail.com>
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
-.TH FLOOR 3 2010-09-20 "" "Linux Programmer's Manual"
+.TH FLOOR 3 2013-07-23 "" "Linux Programmer's Manual"
.SH NAME
floor, floorf, floorl \- largest integral value not greater than argument
.SH SYNOPSIS
is 0.0, and
.IR floor(\-0.5)
is \-1.0.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
These functions return the floor of
.IR x .
-If \fIx\fP is integral, +0, \-0, NaN, or an infinity,
-\fIx\fP itself is returned.
+If
+.I x
+is integral, +0, \-0, NaN, or an infinity,
+.I x
+itself is returned.
.SH ERRORS
No errors occur.
POSIX.1-2001 documents a range error for overflows, but see NOTES.
-.SH "CONFORMING TO"
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR floor (),
+.BR floorf (),
+and
+.BR floorl ()
+functions are thread-safe.
+.SH CONFORMING TO
C99, POSIX.1-2001.
The variant returning
.I double
For the IEEE-754 standard 32-bit and 64-bit floating-point numbers
the maximum value of the exponent is 128 (respectively, 1024),
and the number of mantissa bits is 24 (respectively, 53).)
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR ceil (3),
.BR lrint (3),
.BR nearbyint (3),
.BR rint (3),
.BR round (3),
.BR trunc (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.