opensolaris man page for imaxabs

Query: imaxabs

OS: opensolaris

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

imaxabs(3C)						   Standard C Library Functions 					       imaxabs(3C)

NAME
imaxabs - return absolute value
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.
RETURN VALUES
The imaxabs() function returns the absolute value.
ERRORS
No errors are defined.
USAGE
The absolute value of the most negative number cannot be represented in two's complement.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
imaxdiv(3C), attributes(5), standards(5) SunOS 5.11 1 Nov 2003 imaxabs(3C)
Related Man Pages
imaxabs(3c) - opensolaris
imaxabs(3p) - centos
llabs(3) - redhat
abs(3) - centos
abs(3) - xfree86
Similar Topics in the Unix Linux Community
Absolute value
What's up
The absolute void
absolute value
Finding absolute values greater than a certain value