</refsect1>\r
<refsect1 id="description"><title>Description</title>\r
<para>\r
- <function>abs</function> returns 1.0 if\r
- <inlineequation><mml:math><mml:apply><mml:lt /><mml:mi>x</mml:mi><mml:mn>0.0</mml:mn></mml:apply></mml:math></inlineequation>,\r
- 0.0 if\r
- <inlineequation><mml:math><mml:apply><mml:eq /><mml:mi>x</mml:mi><mml:mn>0.0</mml:mn></mml:apply></mml:math></inlineequation> and\r
- 1.0 if\r
- <inlineequation><mml:math><mml:apply><mml:gt /><mml:mi>x</mml:mi><mml:mn>0.0</mml:mn></mml:apply></mml:math></inlineequation>.\r
+ <function>sign</function> returns -1.0 if <parameter>x</parameter> is less than 0.0, 0.0 if <parameter>x</parameter>\r
+ is equal to 0.0, and +1.0 if <parameter>x</parameter> is greater than 0.0.\r
</para>\r
</refsect1>\r
<refsect1 id="versions"><title>Version Support</title>\r
</refsect1>\r
<refsect1 id="seealso"><title>See Also</title>\r
<para>\r
- <citerefentry><refentrytitle>sign</refentrytitle></citerefentry>\r
+ <citerefentry><refentrytitle>abs</refentrytitle></citerefentry>\r
</para>\r
</refsect1>\r
<refsect1 id="Copyright"><title>Copyright</title>\r
<para>\r
- Copyright <trademark class="copyright"></trademark> 2011 Khronos Group. \r
+ Copyright <trademark class="copyright"></trademark> 2011-2013 Khronos Group. \r
This material may be distributed subject to the terms and conditions set forth in \r
the Open Publication License, v 1.0, 8 June 1999.\r
<ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.\r