466
|
1 <refentry id="abs">
|
|
2 <refnamediv>
|
468
|
3 <refname>Abs</refname>
|
|
4 <refpurpose>Absolute value</refpurpose>
|
466
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <funcsynopsis>
|
|
9 <funcprototype>
|
|
10 <funcdef><function>abs</function></funcdef>
|
468
|
11 <paramdef>int <parameter>i</parameter></paramdef>
|
466
|
12 </funcprototype>
|
|
13 </funcsynopsis>
|
|
14
|
|
15 </refsynopsisdiv>
|
|
16
|
|
17 <refsect1><title>Description</title>
|
|
18 <para>
|
551
|
19 ABS returns absolute value of its integer operand.
|
|
20 </para>
|
|
21 </refsect1>
|
|
22
|
|
23 <refsect1><title>Caveats</title>
|
|
24 <para>
|
|
25 You get what the hardware gives on the largest negative number.
|
466
|
26 </para>
|
|
27 </refsect1>
|
|
28 </refentry>
|