Leon, no it is not about the rounding, the bug was in my source: 1 s>f 100(0)<<<<here]]] s>f f/ fconstant _1000th. Of course, I do not expect decimal places..(:-)). Pito
----- PŮVODNÍ ZPRÁVA ----- Od: "Leon N Maurer" <leon.mau...@gmail.com> Komu: amforth-devel@lists.sourceforge.net Předmět: Re: [Amforth-devel] Some useful Float Constants Datum: 29.8.2010 - 19:19:49 > Is the bug that it returns 13951 but the > calculator returns > 13951.906691388013? That should be expected > because f>s truncates the > fractional part -- it doesn't round. > -Leon > > >Sunday 29 August 2010 > >From: "pito" <p...@volna.cz> > >Subject: Re: Some useful Float Constants > > 1 bug (_thousand) removed: > > ... > > > Ex1: > > > _pi _e _ln2 _sqrt2half 10000 s>f _third f* f* > > > f* f* f* f>s . > > > > > > 13951 ok > > > > > .s > > > > ok > > Calc: 13951.906691388013 > > Pito > > ------------------------------------------------------------------------------ > > Sell apps to millions through the Intel(R) > Atom(Tm) Developer Program > Be part of this innovative community and reach > millions of netbook users > worldwide. Take advantage of special opportunities > to increase revenue and > speed time-to-market. Join now, and jumpstart your > future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > Amforth-devel mailing list > Amforth-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amforth-devel ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel