bsd man page for abs

Query: abs

OS: bsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ABS(3)							     Library Functions Manual							    ABS(3)

NAME
abs - integer absolute value
SYNOPSIS
abs(i) int i;
DESCRIPTION
Abs returns the absolute value of its integer operand.
SEE ALSO
floor(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. 7th Edition May 15, 1985 ABS(3)
Related Man Pages
labs(3) - redhat
imaxabs(3) - redhat
labs(3) - suse
abs(3) - opendarwin
abs(3) - xfree86
Similar Topics in the Unix Linux Community
Absence Notification
abstract.sh
Absolute value function
[Solved] Insert tabs as delimiter
Sorry for the absence