Hmm, be sure the "decimal" is set before loading float librar !! Or better, ad decimal at the beginning of float lib :)
> 1.222e-4 3.444e12 f* fs. 4.20857E8 ok > 3.0 2.0 f/ fs. 1.50000E0 ok > p. ----- PŮVODNÍ ZPRÁVA ----- Od: "pito" <p...@volna.cz> Komu: amforth-devel@lists.sourceforge.net Předmět: Re: [Amforth] Float with v4.9 (trunk) - recognizers Datum: 12.5.2012 - 21:59:03 > So with get-recognizer.asm and set-recognizer.asm > enabled and > compiled and with latest Leon's lib with following > change (count > removed): > ..... > > : rec-float >float > ok if > ok state @ if > ok postpone fliteral > ok then > ok -1 > ok else > ok 0 > ok then > ok; > ok > > > ok > > : place-rec ( xt -- ) > ok get-recognizer > ok dup >r > ok 1- n>r > ok swap > ok nr> drop r> 1+ > ok set-recognizer > ok; > ok > > > ok > > ' rec-float place-rec > ok > > > ok > > \ again, the next line is for convienence, not > > nescessity > > ok > > marker ->afterfloat > ok > > 2.33e-6 8.99e11 f* fp. > 2.33e-6 ?? -13 7 > > > p. > > ----- PŮVODNÍ ZPRÁVA ----- > Od: "pito" <p...@volna.cz> > Komu: amforth-devel@lists.sourceforge.net > Předmět: Re: [Amforth] Float with v4.9 (trunk) - > recognizers > Datum: 12.5.2012 - 21:36:00 > > > ..so we need to load set-recognizer.asm and > > get-recogniser.asm, do > > we? > > > > ----- PŮVODNÍ ZPRÁVA ----- > > Od: "pito" <p...@volna.cz> > > Komu: "Everything around amforth" > > <amforth-devel@lists.sourceforge.net> > > Předmět: Re: [Amforth] Float with v4.9 (trunk) - > > recognizers > > Datum: 12.5.2012 - 21:11:28 > > > > > I took the stuff from trunk > > > .... > > > \ recognizer is a feature that is available > > > for > > > > > amforth 4.3 and up > > > \ since 4.5 counted strings are replaced by > > > addr/len information > > > : rec-float >float > > > if > > > state @ if > > > postpone fliteral > > > then > > > -1 > > > else > > > 0 > > > then > > > ; > > > > > > \ ' rec-float place-rec > > > .... > > > but it does not recognise the floats. And ' > > > rec-float place-rec does > > > not work with 4.9 as well.. > > > p. > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways > > > today's security and > > > threat landscape has changed and how IT > > > managers > > > > > can respond. Discussions > > > will include endpoint security, mobile > > > security > > > > > and the latest in malware > > > threats. > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > _______________________________________________ > > > > > > Amforth-devel mailing list for > > > http://amforth.sf.net/ > > > Amforth-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/amforth-devel > > > > > > > > > > > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel