4.3BSD beta release manual page
[unix-history] / usr / src / lib / libm / common_source / floor.3
CommitLineData
8e0eac4c 1.\" @(#)floor.3 6.1 (Berkeley) %G%
56017266 2.\"
8e0eac4c 3.TH FLOOR 3M ""
56017266
KM
4.AT 3
5.SH NAME
6fabs, floor, ceil \- absolute value, floor, ceiling functions
7.SH SYNOPSIS
8.nf
9.B #include <math.h>
10.PP
11.B double floor(x)
12.B double x;
13.PP
14.B double ceil(x)
15.B double x;
16.PP
17.B double fabs(x)
18.B double x;
19.nf
20.SH DESCRIPTION
21.I Fabs
22returns the absolute value
23.RI | \|x\| |.
24.PP
25.I Floor
d53c8da8 26returns the largest integer not greater than
56017266
KM
27.IR x .
28.PP
29.I Ceil
d53c8da8 30returns the smallest integer not less than
56017266
KM
31.IR x .
32.SH SEE ALSO
33abs(3)