Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ abs(3C) — svr3 — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

floor(3M)



ABS(3C-SVR3)        RISC/os Reference Manual         ABS(3C-SVR3)



NAME
     abs - return integer absolute value

SYNOPSIS
     int abs (i)
     int i;

DESCRIPTION
     abs 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.





































                        Printed 11/19/92                   Page 1



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