From: Leon N. M. <leo...@gm...> - 2010-08-30 17:42:24
|
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 |