Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

BSD 2.11 - man page for abs (bsd section 3)

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)
All times are GMT -4. The time now is 09:43 AM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?