|
|
1.1 root 1: .TH ABS 3 "18 January 1983"
2: .SH NAME
3: abs \- integer absolute value
4: .SH SYNOPSIS
5: .nf
6: .B abs(i)
7: .B int i;
8: .fi
9: .SH DESCRIPTION
10: .I Abs
11: returns the absolute value of its integer operand.
12: .SH SEE ALSO
13: floor(3M) for
14: .I fabs
15: .SH BUGS
16: Applying the \fIabs\fP function to the most negative integer generates a
17: result which is the most negative integer. That is,
18: .IP "abs(0x80000000)"
19: .LP
20: returns 0x80000000 as a result.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.