Leon,
the results of tests 4-6 are from what I see quite different (+/-
19) against the correct result =31415:
> test1
31415  ok
> test2
31415  ok
> test3
31415  ok
> test4
31396  ok
> test5
31438  ok
> test6
-31434  ok
>
I think the difference is too big for a single precision float..P.

----- PŮVODNÍ ZPRÁVA -----
Od: "Leon Nathaniel Maurer" <leon.mau...@gmail.com>
Komu: "pito" <p...@volna.cz>
Předmět: Re: [Amforth-devel] Float testing - small/large numbers
Datum: 30.8.2010 - 23:48:51

> On Monday, August 30, 2010 04:19:55 pm pito wrote:
> > The test4-6 are done with negative koef. You may
> > see an error.
> > > One important thing - in order to load float lib
> > you have to add
> > > the word d= into your compilation.
> > Pito
> 
> I think 4-6 are getting the right results. test4
> has (-1)^6=1, test5 has 
> (-1)^4=1, and test6 has (-1)^5=-1.
> 
> Commented out code for d= has been in the
> float.fth file in case it wasn't 
> already installed.
> 
> -Leon



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Amforth-devel mailing list
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to