Content-type: text/html
#include <inttypes.h>
The imaxabs() function computes the absolute value of an integer j. If the result cannot be represented, the behavior is undefined.
The imaxabs() function returns the absolute value.
The absolute value of the most negative number cannot be represented in two's complement.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Standard |
MT-Level | MT-Safe |
imaxdiv(3C), attributes(5), standards(5)