ABS(2) ABS(2)
NAME
abs, labs - integer absolute values
SYNOPSIS
int abs(int a)
long labs(long a)
DESCRIPTION
Abs returns the absolute value of integer a, and labs does
the same for a long.
SEE ALSO
floor(2) for fabs
DIAGNOSTICS
Abs and labs return the most negative integer or long when
the true result is unrepresentable.
Page 1 Plan 9 (printed 1/5/26)