Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ abs(3) — Ultrix-32 3.1D RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

floor(3m)

abs(3)

NAME

abs − integer absolute value

SYNTAX

abs(i)
int i;

DESCRIPTION

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

RESTRICTIONS

Applying the abs 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)

Subroutines

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