view docs/ccguide/abs.refentry @ 2624:b8c7b7fbf3c9

Major changes: o os9defs, rbfdefs, scfdefs now os9.d, rbf.d, and scf.d o vtiodefs now broken into cocovtio.d (for coco and dragon) and atarivtio.d o systype now broken into coco.d, dragon.d and atari.d o all references to the above in other files have changed
author Boisy Pitre <boisy.pitre@nuance.com>
date Fri, 24 Feb 2012 08:51:08 -0600
parents 0b433a4e95cb
children
line wrap: on
line source

<refentry id="abs">
<refnamediv>
<refname>Abs</refname>
<refpurpose>Absolute value</refpurpose>
</refnamediv>

<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
  <funcdef><function>abs</function></funcdef>
  <paramdef>int <parameter>i</parameter></paramdef>
</funcprototype>
</funcsynopsis>

</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
ABS returns absolute value of its integer operand.
</para>
</refsect1>

<refsect1><title>Caveats</title>
<para>
You get what the hardware gives on the largest negative number.
</para>
</refsect1>
</refentry>