Commit | Line | Data |
---|---|---|
05dda90f C |
1 | .TH FLOOR 3M "19 January 1983" |
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 | |
23 | returns the largest integer not greater than | |
24 | .IR x . | |
25 | .PP | |
26 | .I Ceil | |
27 | returns the smallest integer not less than | |
28 | .IR x . | |
29 | .SH SEE ALSO | |
30 | abs(3) |