IMAXABS(3) Library Functions Manual IMAXABS(3)

imaxabsreturns absolute value

Standard C Library (libc, -lc)

#include <inttypes.h>

intmax_t
imaxabs(intmax_t j);

The () function returns the absolute value of j.

abs(3), fabs(3), hypot(3), labs(3), llabs(3), math(3)

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.

November 14, 2001 Mac OS X 12