Hi, just a small tip for those who starts to utilise the existing
libraries for float functions.. As you can see in my trig library I
posted (f-trig.frt) there is my remark .."a bug?". It is not a bug
in the original J.L. Bezemer's lib (see the "4tH library" - great
source) but probably the fact they use FSTACK, and we do not. So be
careful when using big libs as it is mostly not explicitly stated
the floats are handled via separate stack. Me, a forth newbie, I
spent many hours debugging some float forth codes not taking into
account we do not have/use FSTACK.
E.g. a sequence (from f-trig.frt Taylor series calcs) which might
work with other forths (K is a double const):

...K fover f* frot fover d>f f/ f- frot frot...

needs to be rewritten into amforth like this:

...fover f* frot fover K d>f f/ f- frot frot...

P.






-- 
IHNED.cz je nový, přehlednější a rychlejší. Přesvědčte se na:
www.ihned.cz




------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Amforth-devel mailing list
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to