]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/floor.3
psignal.3: wfix
[thirdparty/man-pages.git] / man3 / floor.3
CommitLineData
fea681da 1.\" Copyright 2001 Andries Brouwer <aeb@cwi.nl>.
f813ec13
MK
2.\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
3.\" <mtk.manpages@gmail.com>
fea681da 4.\"
93015253 5.\" %%%LICENSE_START(VERBATIM)
fea681da
MK
6.\" Permission is granted to make and distribute verbatim copies of this
7.\" manual provided the copyright notice and this permission notice are
8.\" preserved on all copies.
9.\"
10.\" Permission is granted to copy and distribute modified versions of this
11.\" manual under the conditions for verbatim copying, provided that the
12.\" entire resulting derived work is distributed under the terms of a
13.\" permission notice identical to this one.
c13182ef 14.\"
fea681da
MK
15.\" Since the Linux kernel and libraries are constantly changing, this
16.\" manual page may be incorrect or out-of-date. The author(s) assume no
17.\" responsibility for errors or omissions, or for damages resulting from
18.\" the use of the information contained herein. The author(s) may not
19.\" have taken the same level of care in the production of this manual,
20.\" which is licensed free of charge, as they might when working
21.\" professionally.
c13182ef 22.\"
fea681da
MK
23.\" Formatted or processed versions of this manual, if unaccompanied by
24.\" the source, must acknowledge the copyright and authors of this work.
4b72fb64 25.\" %%%LICENSE_END
fea681da 26.\"
4b8c67d9 27.TH FLOOR 3 2017-09-15 "" "Linux Programmer's Manual"
fea681da
MK
28.SH NAME
29floor, floorf, floorl \- largest integral value not greater than argument
30.SH SYNOPSIS
31.nf
32.B #include <math.h>
68e4db0a 33.PP
fea681da 34.BI "double floor(double " x );
fea681da 35.BI "float floorf(float " x );
fea681da
MK
36.BI "long double floorl(long double " x );
37.fi
68e4db0a 38.PP
20c58d70 39Link with \fI\-lm\fP.
68e4db0a 40.PP
f813ec13
MK
41.in -4n
42Feature Test Macro Requirements for glibc (see
43.BR feature_test_macros (7)):
44.in
68e4db0a 45.PP
f813ec13
MK
46.ad l
47.BR floorf (),
48.BR floorl ():
b90c43a8 49.RS 4
e9d91bcf
MK
50_ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
51 || /* Since glibc 2.19: */ _DEFAULT_SOURCE
52 || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
b90c43a8
MK
53.RE
54.ad
fea681da 55.SH DESCRIPTION