Hi Matthias, yea, you both share Leon's code (in some stripped down version w/ FF), which is neither amforth nor FF related. Otherwise the FF floating point follows the other approach - it calls C math functions, and the current implementation of that stuff comes from https://github.com/igor-m/Floating-Point-Library-for-FlashForth with some minor edits, mostly with FOR introduction (instead do-loop) and >float support. FF's fp ran succesfullly in sommer 2014 aleady (without recogniser), but there was no time to propagate that stuff to the FF folk..
I've done a short mailing with Leon these days, trying to sell him an idea of double precision implementation. Too busy however. I do not have any ready-to-run amforth hw these days (only a single dsPIC33 for FF), but you may try to flash it, the stuff is maybe 4kB big, I did it with 1284p and it worked fine. It fits 328 sure. I've added a big test file there, it will test almost everything from the library, you may see the precise results printed for a comparision, the numbers I gathered during a long winter evenening (which year?). Pito ______________________________________________________________ > Od: Matthias Trute <mtr...@web.de> > Komu: Everything around amforth <amforth-devel@lists.sourceforge.net> > 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 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 >share quite some code already. I love it. > >Matthias > >------------------------------------------------------------------------------ >_______________________________________________ >Amforth-devel mailing list for http://amforth.sf.net/ >Amforth-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/amforth-devel > ------------------------------------------------------------------------------ _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel