labs(3c) hpux man page | unix.com

Man Page: labs

Operating Environment: hpux

Section: 3c

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
llabs(3c) - opensolaris
imaxabs(3) - redhat
abs(3) - osf1
div(3) - osf1
labs(3) - osf1
Similar Topics in the Unix Linux Community
max number of slabs per kernel module (kernel 2.6.17, suse)
Canonical To Offer Alfresco Labs Pre-Packaged Within Ubuntu Distribution
In The Apple Labs
The future of cloud computing: an HP Labs perspective
Hands On Labs: Install Oracle Solaris 10 on Oracle VM VirtualBox