]>
Commit | Line | Data |
---|---|---|
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 | .\" |
5fbde956 | 5 | .\" SPDX-License-Identifier: Linux-man-pages-copyleft |
fea681da | 6 | .\" |
1ae6b2c7 | 7 | .TH FLOOR 3 2021-03-22 GNU "Linux Programmer's Manual" |
fea681da MK |
8 | .SH NAME |
9 | floor, floorf, floorl \- largest integral value not greater than argument | |
2af19291 AC |
10 | .SH LIBRARY |
11 | Math library | |
8fc3b2cf | 12 | .RI ( libm ", " \-lm ) |
fea681da MK |
13 | .SH SYNOPSIS |
14 | .nf | |
15 | .B #include <math.h> | |
68e4db0a | 16 | .PP |
fea681da | 17 | .BI "double floor(double " x ); |
fea681da | 18 | .BI "float floorf(float " x ); |
fea681da MK |
19 | .BI "long double floorl(long double " x ); |
20 | .fi | |
68e4db0a | 21 | .PP |
d39ad78f | 22 | .RS -4 |
f813ec13 MK |
23 | Feature Test Macro Requirements for glibc (see |
24 | .BR feature_test_macros (7)): | |
d39ad78f | 25 | .RE |
68e4db0a | 26 | .PP |
f813ec13 MK |
27 | .BR floorf (), |
28 | .BR floorl (): | |
9d2adbae | 29 | .nf |
5c10d2c5 | 30 | _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L |
9d2adbae MK |
31 | || /* Since glibc 2.19: */ _DEFAULT_SOURCE |
32 | || /* Glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE | |
33 | .fi | |
fea681da | 34 | .SH DESCRIPTION |