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

Reply via email to