4.3BSD-UWisc/man/mano/floor.3m

.\"	@(#)floor.3m	6.1 (Berkeley) 5/15/85
.\"
.TH FLOOR 3M  "May 15, 1985"
.AT 3
.SH NAME
fabs, floor, ceil \- absolute value, floor, ceiling functions
.SH SYNOPSIS
.nf
.B #include <math.h>
.PP
.B double floor(x)
.B double x;
.PP
.B double ceil(x)
.B double x;
.PP
.B double fabs(x)
.B double x;
.nf
.SH DESCRIPTION
.I Fabs
returns the absolute value
.RI | \|x\| |.
.PP
.I Floor
returns the largest integer not greater than
.IR x .
.PP
.I Ceil
returns the smallest integer not less than
.IR x .
.SH SEE ALSO
abs(3)