IMAXABS(3) | Library Functions Manual | IMAXABS(3)

# NAME

`imaxabs` — integer absolute value function

# SYNOPSIS

`#include <inttypes.h>`
`#include <stdint.h>`

intmax_t
`imaxabs`(intmax_t j);

# DESCRIPTION

The `imaxabs`() function computes the absolute value of the intmax_t variable j.

# RETURN VALUES

The `imaxabs`() function returns the absolute value.

# SEE ALSO

abs(3), cabs(3), floor(3), hypot(3), labs(3)

# STANDARDS

The `imaxabs`() function conforms to ISO/IEC 9899:1999 (“ISO C99”).

# CAVEATS

The result of applying `imaxabs`() to `INTMAX_MIN` is undefined.

January 18, 2019 | Debian