hpux man page for abs

Query: abs

OS: hpux

Section: 3c

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

abs(3C) 																   abs(3C)

NAME
abs(), labs(), llabs(), imaxabs() - return integer absolute value
SYNOPSIS
DESCRIPTION
computes the absolute value of its integer operand. computes the absolute value of its long integer operand. computes the absolute value of its long long integer operand. computes the absolute value of its intmax_t integer operand. If the result value can not be represented, the behavior of these functions is undefined.
RETURN VALUE
returns the absolute value of its integer operand. returns the absolute value of the long integer operand. returns the absolute value of the long long integer operand. returns the absolute value of the intmax_t integer operand. The largest negative integer returns itself.
WARNINGS
In two's-complement representation, the absolute value of the negative integer with the largest magnitude can not be represented.
SEE ALSO
imaxdiv(3C), floor(3M), thread_safety(5).
STANDARDS CONFORMANCE
abs(3C)
Related Man Pages
labs(3c) - opensolaris
llabs(3c) - opensolaris
llabs(3) - redhat
imaxabs(3) - redhat
abs(3c) - sunos
Similar Topics in the Unix Linux Community
The absolute void
find & copy files with absolute path
absolute path for a script ran with relative path
Absolute value function
Sorry for the absence