abs(3C) abs(3C)
NAME
abs, labs - return integer absolute value
SYNOPSIS
#include <stdlib.h>
int abs(int val);
long int labs(long int lval);
DESCRIPTION
abs() returns the absolute value of its int operand. labs() returns
the absolute value of its long operand.
NOTES
In two's-complement representation, the absolute value of the negative
integer with largest magnitude INTMIN might not be representable.
SEE ALSO
fabs(3M), floor(3M).
Page 1 Reliant UNIX 5.44 Printed 11/98