Leon,
I think there is an issue with negative numbers:

> -1 s>f fconstant _-1    >>>> define 1.0
ok
> 1 s>f fconstant _1      >>>> define -1.0
ok

> _1 _pi f* _1e4 f* f>s .    >>>> 1.0 * pi * 1.0E4 = 31415
31415  ok

> _-1 _pi f* _1e4 f* f>s .   >>>>> -1.0 * pi * 1.0E4 = -31426
-31426  ok
>

It cannot be caused by of a rounding error accumulating or loosing a
valid digits. Some minor bug somewhere..
P.


> > 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.



------------------------------------------------------------------------------
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