view docs/ccguide/abs.refentry @ 2342:82c9672489a0

Made change to workings of SHARE. bit to what I believe is the proper way.
author boisy
date Fri, 15 Jan 2010 15:54:53 +0000
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>