5.15.8. llabs()

The llabs() returns the absolute value of its input. It is the long long equivalent of the ISO function labs.

<stdlib.h> is an ISO header file, but the function is prohibited by the ISO C library standard. It is, therefore, not available if you use the compiler with the --strict option.

Syntax

long long llabs(long long num);

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0205F
Non-Confidential