[Amforth] Floating point - All_math library in asm

2015-05-28 Thread pito
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 a

Re: [Amforth] Floating point - All_math library in asm

2015-05-28 Thread pito
And here is an Example for testing the library :) Enjoy! \ Distance and iniBearing of two points on Earth \ Example for Amforth with floating point asm library installed \ Calculates distance in meters and initial bearing in degrees based on \ latidute and longitude of two points on Earth. \ Uses

[Amforth] 0 For-next in amforth

2015-05-28 Thread pito
Hi, I've seen your work in progress includes the for-next loop. I do not have amforth hw handy these days, but I would be interested to know what the amforth prints with : test 0 for i . next ; Thanks. P. -- ___