abs - return an integer absolute value
#include <stdlib.h> int abs(int i);
The abs() function computes the absolute value of its integer operand, i. If the result cannot be represented, the behaviour is undefined.
The abs() function returns the absolute value of its integer operand.
No errors are defined.
None.
In two's-complement representation, the absolute value of the negative integer with largest magnitude {INT_MIN} might not be representable.
None.
fabs(), labs(), <stdlib.h>.
Derived from Issue 1 of the SVID.