ABS(3C) INTERACTIVE UNIX System ABS(3C)
NAME
abs - return integer absolute value
SYNOPSIS
int abs (i)
int i;
DESCRIPTION
The abs function returns the absolute value of its integer
operand.
SEE ALSO
floor(3M).
CAVEAT
In two's-complement representation, the absolute value of
the negative integer with largest magnitude is undefined.
Some implementations trap this error, but others simply
ignore it.
Rev. C Software Development Set Page 1