Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
imaxabs(3) Guardian Native C Library Calls Reference Manual
NAME
imaxabs - Computes absolute value of integer
LIBRARY
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll
SYNOPSIS
#include <inttypes.h>
intmax_t imaxabs(
intmax_t j);
PARAMETERS
j Specifies an integer.
DESCRIPTION
The imaxabs() function returns the absolute value of its integer operand.
The imaxabs() function performs the same function as the abs()function, but accepts an integer
of type intmax_t as its parameter.
A two’s-complement integer can hold a negative number whose absolute value is too large for
the integer to hold.
RETURN VALUES
The imaxabs() function returns the absolute value of its argument.
RELATED INFORMATION
Functions: _abs(3), abs(3), floor(3).
3−94 Hewlett-Packard Company 527192-018