16 lines
370 B
Groff
16 lines
370 B
Groff
|
|
NAME
|
|
abs - return integer absolute value
|
|
SYNTAX
|
|
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
|
|
floor(3M).
|