7.8.2.1 The imaxabs function

Synopsis

1

#include <inttypes.h>
intmax_t imaxabs(intmax_t j);

Description

2

The imaxabs function computes the absolute value of an integer j. If the result cannot be represented, the behavior is undefined.[1]

Returns

3

The imaxabs function returns the absolute value.

Footnotes