Hi, there is a "complete fp asm lib" for amforth at
https://github.com/igor-m/Amforth-Floating-Point-in-ASM
You need Leon's fp lib for the fp handling, the f* f+ f- f/ fsqrt fsin fcos 
ftan facos fasin fatan fexp flog ..... etc. come from the asm lib.
Not sure how it will work with latest Amforth as it was tested in 4.8 or 
something like that.
The speed is great, not comparable with my forth sincostan library, of course. 
Precision standard 32bit fp.
With that precision you can calculate distance of two points on Earth with 
~800m diff over 19.000km with Haversine :).
P.

------------------------------------------------------------------------------
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to