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(3) - redhat
abs(3) - redhat
imaxabs(3) - redhat
abs(3) - osf1
abs(3c) - sunos
Similar Topics in the Unix Linux Community
Canonical To Offer Alfresco Labs Pre-Packaged Within Ubuntu Distribution
SoftlabsAV: 0.9.2 released
Bug Labs creates open source Lego for software engineers
Need some E-Labs for solaris 10 & veritas volume manager
In The Apple Labs