ABS(3,L) AIX Technical Reference ABS(3,L)
-------------------------------------------------------------------------------
abs
PURPOSE
Returns the absolute value of an integer.
LIBRARY
Standard C Library (libc.a)
SYNTAX
int abs (i)
int i;
DESCRIPTION
The abs subroutine returns the absolute value of its integer operand.
Note: A twos-complement integer can hold a negative number whose absolute
value is too large for the integer to hold. When given this largest
negative value, the abs subroutine returns the same value.
RELATED INFORMATION
In this book: "floor, ceil, fmod, fabs, rint."
Processed November 7, 1990 ABS(3,L) 1