abs(3) minix man page | unix.com

Man Page: abs

Operating Environment: minix

Section: 3

ABS(3)							     Library Functions Manual							    ABS(3)

NAME
abs - integer absolute value
SYNOPSIS
#include <stdlib.h> int abs(int i)
DESCRIPTION
Abs returns the absolute value of its integer operand.
SEE ALSO
floor(3).
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 on a machine with 32-bit ints. Using the result in unsigned computations is sound however. 7th Edition May 15, 1985 ABS(3)
Related Man Pages
llabs(3) - redhat
abs(3) - redhat
imaxabs(3) - centos
llabs(3) - centos
abs(3p) - suse
Similar Topics in the Unix Linux Community
The absolute void
replace spaces/tabs with delimiter |
abstract.sh
Absolute value function
Short Absense - Maybe - Flying to Philippines