labs(3) ultrix man page | unix.com

Man Page: labs

Operating Environment: ultrix

Section: 3

abs(3)							     Library Functions Manual							    abs(3)

Name
       abs, labs - integer absolute value

Syntax
       #include <stdlib.h>
       #include <stdlib.h>

       long labs(i)
       long i;

       int abs(i)
       int i;

       long labs(i)
       long i;

Description
       The and functions return the absolute value of their integer operand.  The labs function does the same for a long int.

Restrictions
       Applying the or function to the most negative integer generates a result which is the most negative integer.  That is,
       abs(0x80000000)

       returns 0x80000000 as a result.

See Also
       floor(3m)

																	    abs(3)
Related Man Pages
labs(3c) - opensolaris
labs(3) - redhat
imaxabs(3) - redhat
labs(3c) - sunos
labs(3) - osf1
Similar Topics in the Unix Linux Community
Canonical To Offer Alfresco Labs Pre-Packaged Within Ubuntu Distribution
SoftlabsAV: 0.9.2 released
In The Apple Labs
The future of cloud computing: an HP Labs perspective
Hands On Labs: Install Oracle Solaris 10 on Oracle VM VirtualBox