ABS(3C) ABS(3C)
NAME
abs - return integer absolute value
SYNOPSIS
int abs (i)
int i;
DESCRIPTION
abs 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.
ORIGIN
AT&T V.3
Page 1 (last mod. 8/20/87)