imaxabs —
returns absolute value
Standard C Library (libc, -lc)
#include
<inttypes.h>
intmax_t
imaxabs(intmax_t
j);
The
imaxabs()
function returns the absolute value of j.
The imaxabs() function conforms to
ISO/IEC 9899:1999
(“ISO C99”).
The imaxabs() function first appeared in
FreeBSD 5.0.
The absolute value of the most negative integer remains
negative.