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
labs(3c) - opensolaris
llabs(3c) - opensolaris
labs(3) - redhat
abs(3) - osf1
ldiv(3) - osf1
Similar Topics in the Unix Linux Community
NightLabs PDF Viewer 0.9.5-beta-snapshot (Default branch)
SoftlabsAV: 0.9.2 released
NightLabs PDF Viewer 0.9.6-beta (Default branch)
Lock Box Labs PGP Tools 1.00 (Default branch)
Need some E-Labs for solaris 10 & veritas volume manager