ABS(3C) — Silicon Graphics
NAME
abs − return integer absolute value
SYNOPSIS
int abs (i)
int i;
DESCRIPTION
Abs returns the absolute value of its integer operand.
BUGS
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.
SEE ALSO
Version 2.5 — April 22, 1987