projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
manual page distributed with 4.1BSD
[unix-history]
/
usr
/
src
/
lib
/
libm
/
common_source
/
floor.3
.\" @(#)floor.3 4.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)