Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

floor(3M)

ABS(3)

NAME

abs − integer absolute value

USAGE

abs(i)
int i;

DESCRIPTION

Abs returns the absolute value of its integer operand. 

NOTES

Applying the abs function to the most negative integer generates a result that is the most negative integer.  That is,

abs(0x80000000)

returns 0x80000000 as a result. 

RELATED INFORMATION

floor(3M) for fabs

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