ABS(3) Library Functions Manual ABS(3)
abs - integer absolute value
Abs returns the absolute value of its integer operand.
floor(3M) for fabs
Applying the abs function to the most negative integer generates a
result which is the most negative integer. That is,
returns 0x80000000 as a result.
18 January 1983 ABS(3)