Commit | Line | Data |
---|---|---|
8e0eac4c | 1 | .\" @(#)floor.3 6.1 (Berkeley) %G% |
56017266 | 2 | .\" |
8e0eac4c | 3 | .TH FLOOR 3M "" |
56017266 KM |
4 | .AT 3 |
5 | .SH NAME | |
6 | fabs, floor, ceil \- absolute value, floor, ceiling functions | |
7 | .SH SYNOPSIS | |
8 | .nf | |
9 | .B #include <math.h> | |
10 | .PP | |
11 | .B double floor(x) | |
12 | .B double x; | |
13 | .PP | |
14 | .B double ceil(x) | |
15 | .B double x; | |
16 | .PP | |
17 | .B double fabs(x) | |
18 | .B double x; | |
19 | .nf | |
20 | .SH DESCRIPTION | |
21 | .I Fabs | |
22 | returns the absolute value | |
23 | .RI | \|x\| |. | |
24 | .PP | |
25 | .I Floor | |
d53c8da8 | 26 | returns the largest integer not greater than |
56017266 KM |
27 | .IR x . |
28 | .PP | |
29 | .I Ceil | |
d53c8da8 | 30 | returns the smallest integer not less than |
56017266 KM |
31 | .IR x . |
32 | .SH SEE ALSO | |
33 | abs(3) |