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