4.3BSD beta release manual page
[unix-history] / usr / src / old / libm / man / floor.3
.\" @(#)floor.3 6.1 (Berkeley) %G%
.\"
.TH FLOOR 3M ""
.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)