Returns absolute value.
#include <inttypes.h>
intmax_t imaxabs (j)
intmax_t j;
The imaxabs subroutine computes the absolute value of an integer j. If the result cannot be represented, the behavior is undefined.
Item | Description |
---|---|
j | Specifies the value to be computed. |
The imaxabs subroutine returns the absolute value.