Annotation of 43BSDTahoe/man/man3/abs.3, revision 1.1.1.1

1.1       root        1: .\"    @(#)abs.3       6.1 (Berkeley) 5/15/85
                      2: .\"
                      3: .TH ABS 3 "May 15, 1985"
                      4: .AT 3
                      5: .SH NAME
                      6: abs \- integer absolute value
                      7: .SH SYNOPSIS
                      8: .nf
                      9: .B abs(i)
                     10: .B int i;
                     11: .fi
                     12: .SH DESCRIPTION
                     13: .I Abs
                     14: returns the absolute value of its integer operand.
                     15: .SH SEE ALSO
                     16: floor(3M) for
                     17: .I fabs
                     18: .SH BUGS
                     19: Applying the \fIabs\fP function to the most negative integer generates a
                     20: result which is the most negative integer.  That is, 
                     21: .IP "abs(0x80000000)"
                     22: .LP
                     23: returns 0x80000000 as a result.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.