labs [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation
HP C/iX Library Reference Manual
labs
Computes the absolute value of a long integer argument.
Syntax
#include <stdlib.h>
long int labs (long int j);
Parameters
j A long integer value whose absolute value is to be
computed.
Return Values
x The absolute value of the long integer specified in j.
Description
The labs function returns the absolute value of the long integer value
specified in j.
See Also
abs(), fabs(), ANSI C 4.10.6.3
MPE/iX 5.0 Documentation