4.14.7. llabs()

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

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

Syntax

longlong llabs(long long num);

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D
Non-Confidential