*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> abs (3c)              
Title
Content
Arch
Section
 

ABS(3C)								       ABS(3C)


NAME    [Toc]    [Back]

     abs, labs - return	integer	absolute value

SYNOPSIS    [Toc]    [Back]

     #include <stdlib.h>

     int abs (int i);

     long int labs (long int i);

DESCRIPTION    [Toc]    [Back]

     abs and labs return the absolute value of their int or long int operand.

SEE ALSO    [Toc]    [Back]

     floor(3M).
      
      

CAVEAT    [Toc]    [Back]

     In	two's-complement representation, the absolute value of the negative
     integer with largest magnitude is undefined.  In this case, abs (or labs)
     will generate a SIGFPE.


									PPPPaaaaggggeeee 1111
[ Back ]

Contents

 Similar pages
Name OS Title
labs FreeBSD return the absolute value of a long integer
qabs OpenBSD return the absolute value of a quad integer
llabs OpenBSD return the absolute value of a long integer
qabs NetBSD return the absolute value of a quad integer
labs NetBSD return the absolute value of a long integer
labs OpenBSD return the absolute value of a long integer
llabs NetBSD return the absolute value of a long long integer
abs Linux compute the absolute value of an integer.
abs OpenBSD integer absolute value function
abs FreeBSD integer absolute value function
Credit Report | Auto Loans | Cheap Computer Parts | Debt Consolidation | Loans
Copyright © 2004-2005 DeniX Solutions SRL