Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ abs(3C) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fabs(3M)

floor(3M)

abs(3C)                                                             abs(3C)

NAME
     abs, labs - return integer absolute value

SYNOPSIS
     #include <stdlib.h>

     int abs(int val);

     long int labs(long int lval);

DESCRIPTION
     abs() returns the absolute value of its int operand. labs() returns
     the absolute value of its long operand.

NOTES
     In two's-complement representation, the absolute value of the negative
     integer with largest magnitude INTMIN might not be representable.

SEE ALSO
     fabs(3M), floor(3M).



































Page 1                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026