Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

floor(3M)

ABS(3)  —  Kubota Pacfic Computer Inc. (C Library Functions−BSD)

NAME

abs − integer absolute value

SYNOPSIS

abs(i)
int i;

DESCRIPTION

abs returns the absolute value of its integer operand. 

SEE ALSO

floor(3M)

BUGS

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. 

September 02, 1992

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