7.8.2.1 The imaxabs function
Synopsis
#include <inttypes.h>
intmax_t imaxabs(intmax_t j);
Description
The imaxabs function computes the absolute value of an integer j. If the result cannot be represented, the behavior is undefined.[1]
Returns
The imaxabs function returns the absolute value.
Footnotes