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