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
/
libc
/
stdlib
/
abs.3
.\" @(#)abs.3 4.1 (Berkeley) %G%
.\"
.TH ABS 3
.AT 3
.SH NAME
abs \- integer absolute value
.SH SYNOPSIS
.nf
.B abs(i)
.B int i;
.fi
.SH DESCRIPTION
.I Abs
returns
the absolute value of its integer operand.
.SH SEE ALSO
floor(3) for
.I fabs
.SH BUGS
You get what the hardware gives on the smallest integer.