BSD 4_2 development
[unix-history] / usr / man / man3 / floor.3m
CommitLineData
05dda90f
C
1.TH FLOOR 3M "19 January 1983"
2.SH NAME
3fabs, 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
19returns the absolute value
20.RI | \|x\| |.
21.PP
22.I Floor
23returns the largest integer not greater than
24.IR x .
25.PP
26.I Ceil
27returns the smallest integer not less than
28.IR x .
29.SH SEE ALSO
30abs(3)