Leon, Thanks! The results of the test1-6 (all results shall be equal 31415, ignoring sign): > test1 31415 ok > test2 31415 ok > test3 31415 ok > test4 31396 ok > test5 31438 ok > test6 -31434 ok > The test4-6 are done with negative koef. You may see an error. One important thing - in order to load float lib you have to add the word d= into your compilation. Pito
----- PŮVODNÍ ZPRÁVA ----- Od: "Leon Nathaniel Maurer" <leon.mau...@gmail.com> Komu: amforth-devel@lists.sourceforge.net Předmět: Re: [Amforth-devel] Float testing - small/large numbers Datum: 30.8.2010 - 19:42:28 > Ok, that bug should be fixed -- the new version of > the code is up on > > http://github.com/lnmaurer/amforth-float > > Below are some of Pito's examples -- now working. > Thanks again for catching > this. > > In answer to an earlier question -- I think double > length floats would be > trickier to do because there aren't words around > to manipulate them. My > priority is defiantly getting the other words from > the floating point wordset > done, followed by some from the floating point > extended wordset (including > functions like sine, cos, etc.) > > -Leon > > -Leon > > > 355 s>f 113 s>f f/ fconstant _pi > ok > > _pi 10000 s>f f/ 10000 s>f f/ 10000 s>f f/ 10000 > > s>f fdup fdup fdup f* f* f* > > f* f>s . > 31415 ok > > 1074 s>f 2251 s>f f/ fconstant _log3 > ok > > _log3 1000 s>f f* f>s . > 477 ok > > 10691 s>f 462 s>f f/ fconstant _e**pi > ok > > _e**pi 1000 s>f f* f>s . > 23140 ok > > ------------------------------------------------------------------------------ > > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Amforth-devel mailing list > Amforth-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amforth-devel ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel