OpenBSD manual page server

Manual Page Search Parameters

IMAXABS(3) Library Functions Manual IMAXABS(3)

imaxabsinteger absolute value function

#include <inttypes.h>

intmax_t
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.

The absolute value of the most negative integer remains negative.

June 5, 2013 OpenBSD-5.4