Standards / Extensions | C or C++ | Dependencies |
---|---|---|
z/OS® UNIX |
both | OS/390 V2R10 |
#include <stdio.h>
long long llabs(long long int n);
Calculates the absolute value of its long long integer argument n. The result is undefined when the argument is equal to LONGLONG_MIN, the smallest available long long integer (-9 223 372 036 854 775 808). The value LONGLONG_MIN is defined in the limits.h header file.
Returns the absolute value of the long long integer argument n.