annotate docs/ccguide/abs.refentry @ 1986:9c683723c7aa

Added (with limitations) support for running on a CoCo 1/2/3
author afra
date Mon, 30 Jan 2006 23:09:57 +0000
parents 0b433a4e95cb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
1 <refentry id="abs">
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
2 <refnamediv>
468
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
3 <refname>Abs</refname>
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
4 <refpurpose>Absolute value</refpurpose>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
5 </refnamediv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
6
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
7 <refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
8 <funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
9 <funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
10 <funcdef><function>abs</function></funcdef>
468
60b821f18853 A little here and there.
roug
parents: 466
diff changeset
11 <paramdef>int <parameter>i</parameter></paramdef>
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
12 </funcprototype>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
13 </funcsynopsis>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
14
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
15 </refsynopsisdiv>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
16
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
17 <refsect1><title>Description</title>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
18 <para>
551
0b433a4e95cb All diagnostics added.
roug
parents: 468
diff changeset
19 ABS returns absolute value of its integer operand.
0b433a4e95cb All diagnostics added.
roug
parents: 468
diff changeset
20 </para>
0b433a4e95cb All diagnostics added.
roug
parents: 468
diff changeset
21 </refsect1>
0b433a4e95cb All diagnostics added.
roug
parents: 468
diff changeset
22
0b433a4e95cb All diagnostics added.
roug
parents: 468
diff changeset
23 <refsect1><title>Caveats</title>
0b433a4e95cb All diagnostics added.
roug
parents: 468
diff changeset
24 <para>
0b433a4e95cb All diagnostics added.
roug
parents: 468
diff changeset
25 You get what the hardware gives on the largest negative number.
466
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
26 </para>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
27 </refsect1>
bea58398bb15 Skeletons for the C Compiler User's Guide, 1983
roug
parents:
diff changeset
28 </refentry>