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

2015-05-29 Thread pito
__ > Od: Matthias Trute > Komu: Everything around amforth > Datum: 29.05.2015 19:53 > Předmět: Re: [Amforth] Floating point - All_math library in asm > >Am Donnerstag, den 28.05.2015, 23:56 +0200 schrieb pito: >> Hi, there is a "complete fp asm lib" for amforth

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

2015-05-29 Thread Matthias Trute
Am Donnerstag, den 28.05.2015, 23:56 +0200 schrieb pito: > Hi, there is a "complete fp asm lib" for amforth at > https://github.com/igor-m/Amforth-Floating-Point-in-ASM Cool stuff btw: flashforth from Mikael Nordman ported the FP code and it runs now on a PIC as well. Thanks to the GPL (v3). We s

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