4.3BSD/usr/man/man3/abs.3

Compare this file to the similar file:
Show the results in this format:

.\"	@(#)abs.3	6.1 (Berkeley) 5/15/85
.\"
.TH ABS 3 "May 15, 1985"
.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(3M) for
.I fabs
.SH BUGS
Applying the \fIabs\fP function to the most negative integer generates a
result which is the most negative integer.  That is, 
.IP "abs(0x80000000)"
.LP
returns 0x80000000 as a result.