abs(3)
NAME
abs − integer absolute value
SYNTAX
abs(i)
int i;
DESCRIPTION
The abs function returns the absolute value of its integer operand.
RESTRICTIONS
Applying the abs function to the most negative integer generates a result which is the most negative integer. That is,
abs(0x80000000)
returns 0x80000000 as a result.