IMAXABS(3)                OpenBSD Programmer's Manual               IMAXABS(3)

NAME
     imaxabs - integer absolute value function

SYNOPSIS
     #include <inttypes.h>

     intmax_t
     imaxabs(intmax_t j);

DESCRIPTION
     The imaxabs() function computes the absolute value of the intmax_t vari-
     able j.

RETURN VALUES
     The imaxabs() function returns the absolute value.

SEE ALSO
     abs(3), cabs(3), floor(3), hypot(3), labs(3), math(3)

STANDARDS
     The abs() function conforms to ANSI/ISO/IEC 9899-1999 (``ANSI C99'').

BUGS
     The absolute value of the most negative integer remains negative.

OpenBSD 4.1                     January 6, 2005                              1
