Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

imaxabs - return integer absolute value (intmax_t)

&pagelevel(4)&pagelevel

Definition  

#include <inttypes.h>

intmax_t imaxabs(intmax_t j);

imaxabs computes the absolute value of an integer j of type intmax_t.

intmax_t is a type predefined in the headerstdint.h:

typedef long long intmax_t;

Return val.

|j|

for an integer j, if successful.


undefined

in case of overflow. errno is set to ERANGE to indicate the error.

See also

abs, labs, llabs