From: George H. <geo...@us...> - 2006-02-02 10:55:31
|
Update of /cvsroot/win32forth/win32forth/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14890/win32forth/doc Modified Files: p-float.htm Log Message: gah: More Dexing (still work in progress) optimizations and bug fixes Index: p-float.htm =================================================================== RCS file: /cvsroot/win32forth/win32forth/doc/p-float.htm,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** p-float.htm 1 Feb 2006 12:42:13 -0000 1.6 --- p-float.htm 2 Feb 2006 10:55:20 -0000 1.7 *************** *** 138,148 **** </p><h3>Rounding Modes </h3><pre><b><a name="0">code FLOOR ( fs: f1 -- fs: f2 ) \ ANSI Floating ! </a></b></pre><p>Set rounding mode to round to -infinity. </p><pre><b><a name="0">code FCEIL ( fs: f1 -- fs: f2 ) \ W32F Floating extra ! </a></b></pre><p>Set rounding mode to round to +infinity. </p><pre><b><a name="0">code FTRUNC ( fs: f1 -- fs: f2 ) \ W32F Floating extra ! </a></b></pre><p>Set rounding mode to truncate. </p><pre><b><a name="0">code FROUND ( fs: f1 -- fs: f2 ) \ ANSI Floating ! </a></b></pre><p>Set rounding mode to round to nearest. </p><h3>Integer to float conversion </h3><pre><b><a name="0">code D>F ( d -- ) ( F: -- r ) \ ANSI Floating --- 138,150 ---- </p><h3>Rounding Modes </h3><pre><b><a name="0">code FLOOR ( fs: f1 -- fs: f2 ) \ ANSI Floating ! </a></b></pre><p>Round r1 to an integral value using the round toward negative infinity rule, ! giving r2. </p><pre><b><a name="0">code FCEIL ( fs: f1 -- fs: f2 ) \ W32F Floating extra ! </a></b></pre><p>Round r1 to an integral value using the round toward positive infinity rule, ! giving r2. </p><pre><b><a name="0">code FTRUNC ( fs: f1 -- fs: f2 ) \ W32F Floating extra ! </a></b></pre><p>Round r1 to an integral value using the round toward zero rule, giving r2. </p><pre><b><a name="0">code FROUND ( fs: f1 -- fs: f2 ) \ ANSI Floating ! </a></b></pre><p>Round r1 to an integral value using the round to nearest rule, giving r2. </p><h3>Integer to float conversion </h3><pre><b><a name="0">code D>F ( d -- ) ( F: -- r ) \ ANSI Floating *************** *** 244,248 **** </a></b></pre><p>r2 is the hyperbolic tangent of r1, |r2| <= 1. </p><h3>Inverse hyperbolic functions ! </h3><h3>Output conversion. </h3><pre><b><a name="0">: PRECISION ( -- u ) \ ANSI Floating ext </a></b></pre><p>Return the number of significant digits currently used by (F.), (FE.), (FS.), F., --- 246,256 ---- </a></b></pre><p>r2 is the hyperbolic tangent of r1, |r2| <= 1. </p><h3>Inverse hyperbolic functions ! </h3><pre><b><a name="0">code FASINH ( fs: r1 -- r2 ) \ ANSI Floating ext ! </a></b></pre><p>r2 is the number whose hyperbolic sine is r1. ! </p><pre><b><a name="0">code FACOSH ( fs: r1 -- r2 ) \ ANSI Floating ext ! </a></b></pre><p>r2 is the number whose hyperbolic cosine is r1. If r1 < 1.0 then r2 is a NAN. ! </p><pre><b><a name="0">: FATANH ( f: r1 -- r2 ) \ ANSI Floating ext ! </a></b></pre><p>r2 is the number whose hyperbolic tangent is r1. IF |r1| > 1.0 then r2 is a NAN. ! </p><h3>Output conversion. </h3><pre><b><a name="0">: PRECISION ( -- u ) \ ANSI Floating ext </a></b></pre><p>Return the number of significant digits currently used by (F.), (FE.), (FS.), F., |