Re: [Amforth-devel] Leon's float

2010-08-27 Thread pito
Leon, e.g.? result = ((1/3) * 3) + 1.0 > 1 s>f 3 s>f f/ 3 s>f f* 1 s>f f+ f>s . ^ ?? -42 45 > P. - PŮVODNÍ ZPRÁVA - Od: "Leon Nathaniel Maurer" Komu: [email protected] Předmět: Re: [Amforth-devel] Leon's float D

Re: [Amforth-devel] Leon's float

2010-08-27 Thread Leon Nathaniel Maurer
Got it. If all you want to test is that f+, f-, f*, and f/ do what they're supposed to do, then make floats from single length integers with "s>f", then do what you want and convert them back to integers with "f>s" (that doesn't round -- it just truncates the part after the decimal point). For

Re: [Amforth-devel] Leon's float

2010-08-27 Thread pito
s>f defined after the first usageYou have to relocate the Conversion words on the better place within the code(:-)). After the second upload it has been taken. So now how to test??? I have no idea... Float, float..P/ - PŮVODNÍ ZPRÁVA - Od: "pito" Komu: [email protected]

Re: [Amforth-devel] Leon's float

2010-08-27 Thread Leon Nathaniel Maurer
f/ isn't ready yet -- I'm actually working on it now (I wrote it when away from my device). I'd just remove f/ from the upload, I think the rest is good to go. -Leon On Friday, August 27, 2010 04:03:31 pm pito wrote: > Hi Leon, > I've tried to upload to my new 1284p, but getting this error: > >