Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

(opensolaris section 3c)
man page for imaxabs

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)

Featured Tech Videos