1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-05 04:37:23 +00:00

Added abs and labs

git-svn-id: svn://svn.cc65.org/cc65/trunk@1777 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-12-16 18:13:10 +00:00
parent 07b040fe5a
commit 1faaf6f4bf

View File

@ -140,9 +140,11 @@ function.
<itemize>
<item><ref id="abort" name="abort">
<item><ref id="abs" name="abs">
<item><ref id="atexit" name="atexit">
<item><ref id="exit" name="exit">
</itemize>
<item><ref id="labs" name="labs">
</itemize>
<sect1><tt/string.h/<label id="string.h"><p>
@ -251,6 +253,28 @@ terminates the program with an exit code of 3.
</quote>
<sect1>abs<label id="abs"><p>
<quote>
<descrip>
<tag/Function/Returns the absolute value of an integer.
<tag/Header/<tt/<ref id="stdlib.h" name="stdlib.h">/
<tag/Declaration/<tt/int __fastcall__ abs (int v);/
<tag/Description/<tt/abs/ returns the absolute value of the argument passed to
the function.
<tag/Limits/<itemize>
<item>The return value is undefined if <tt/INT_MIN/ is passed to the function.
<item>The function is only available as fastcall function, so it may only be
used in presence of a prototype.
</itemize>
<tag/Availability/ISO 9899
<tag/See also/
<ref id="labs" name="labs">
<tag/Example/None.
</descrip>
</quote>
<sect1>assert<label id="assert"><p>
<quote>
@ -1410,6 +1434,28 @@ do), the function is rather useless.
</quote>
<sect1>labs<label id="labs"><p>
<quote>
<descrip>
<tag/Function/Returns the absolute value of a long integer.
<tag/Header/<tt/<ref id="stdlib.h" name="stdlib.h">/
<tag/Declaration/<tt/int __fastcall__ labs (long v);/
<tag/Description/<tt/labs/ returns the absolute value of the argument passed to
the function.
<tag/Limits/<itemize>
<item>The return value is undefined if <tt/LONG_MIN/ is passed to the function.
<item>The function is only available as fastcall function, so it may only be
used in presence of a prototype.
</itemize>
<tag/Availability/ISO 9899
<tag/See also/
<ref id="abs" name="abs">
<tag/Example/None.
</descrip>
</quote>
<sect1>revers<label id="revers"><p>
<quote>