OpenBSD manual page server

Manual Page Search Parameters

IMAXABS(3) Library Functions Manual IMAXABS(3)

imaxabsinteger absolute value function

#include <inttypes.h>
#include <stdint.h>

imaxabs(intmax_t j);

The () function computes the absolute value of the intmax_t variable j.

The imaxabs() function returns the absolute value.

abs(3), cabs(3), floor(3), hypot(3), labs(3)

The imaxabs() function conforms to ISO/IEC 9899:1999 (“ISO C99”).

The result of applying imaxabs() to INTMAX_MIN is undefined.

January 18, 2019 OpenBSD-current