Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

floor(3M)



          ABS(3C)              INTERACTIVE UNIX System              ABS(3C)



          NAME
               abs - return integer absolute value

          SYNOPSIS
               int abs (i)
               int i;

          DESCRIPTION
               The abs function returns the absolute value of its integer
               operand.

          SEE ALSO
               floor(3M).

          CAVEAT
               In two's-complement representation, the absolute value of
               the negative integer with largest magnitude is undefined.
               Some implementations trap this error, but others simply
               ignore it.




































          Rev. C Software Development Set                            Page 1



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