]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/floor.3
man*/: ffix (un-bracket tables)
[thirdparty/man-pages.git] / man3 / floor.3
CommitLineData
a1eaacb1 1'\" t
fea681da 2.\" Copyright 2001 Andries Brouwer <aeb@cwi.nl>.
f813ec13
MK
3.\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
4.\" <mtk.manpages@gmail.com>
fea681da 5.\"
5fbde956 6.\" SPDX-License-Identifier: Linux-man-pages-copyleft
fea681da 7.\"
4c1c5274 8.TH floor 3 (date) "Linux man-pages (unreleased)"
fea681da
MK
9.SH NAME
10floor, floorf, floorl \- largest integral value not greater than argument
2af19291
AC
11.SH LIBRARY
12Math library
8fc3b2cf 13.RI ( libm ", " \-lm )
fea681da
MK
14.SH SYNOPSIS
15.nf
16.B #include <math.h>
68e4db0a 17.PP
fea681da 18.BI "double floor(double " x );
fea681da 19.BI "float floorf(float " x );
fea681da
MK
20.BI "long double floorl(long double " x );
21.fi
68e4db0a 22.PP
d39ad78f 23.RS -4
f813ec13
MK
24Feature Test Macro Requirements for glibc (see
25.BR feature_test_macros (7)):
d39ad78f 26.RE
68e4db0a 27.PP
f813ec13
MK
28.BR floorf (),
29.BR floorl ():
9d2adbae 30.nf
5c10d2c5 31 _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
9d2adbae 32 || /* Since glibc 2.19: */ _DEFAULT_SOURCE
75c018a1 33 || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
9d2adbae 34.fi
fea681da 35.SH DESCRIPTION