Query: abs
OS: minix
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ABS(3) Library Functions Manual ABS(3)NAMEabs - integer absolute valueSYNOPSIS#include <stdlib.h> int abs(int i)DESCRIPTIONAbs returns the absolute value of its integer operand.SEE ALSOfloor(3).BUGSApplying 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 |
---|
labs(3) - redhat |
llabs(3) - redhat |
abs(3) - redhat |
imaxabs(3) - redhat |
imaxabs(3) - suse |