up | Inhaltsverzeichniss | Kommentar

Manual page for ABS(3)

abs - integer absolute value

SYNOPSIS

abs(i)
int i;

DESCRIPTION

abs() returns the absolute value of its integer operand.

SEE ALSO

ieee_functions.3m for fabs()

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.


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97