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