LLABS(3) | Library Functions Manual | LLABS(3) |
llabs
— returns
absolute value
Standard C Library (libc, -lc)
#include
<stdlib.h>
long long
llabs
(long
long i);
The
llabs
()
function returns the absolute value of i.
The llabs
() function conforms to
ISO/IEC 9899:1999
(“ISO C99”).
The llabs
() function first appeared in
FreeBSD 5.0.
The absolute value of the most negative integer remains negative.
November 14, 2001 | macOS 14.6 |