Ilya Zakharevich on Wed, 30 Oct 2002 13:45:19 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: gcc 3.2? |
On Wed, Oct 30, 2002 at 10:30:22PM +0100, Karim BELABAS wrote: > I've fixed incorrect roudings in the floating point kernel in 2.2.5. > Maybe you did not update your test suite ? When one installs Math::Pari, by default the latest stable version is picked up. But apparently the error in the translator from GP/PARI test engine to the Perl one. > As far as I'm concerned, in these 3, the 'out'(put) result is correct, not the > 'expect'(ed) one: > > # in='sum($k,1,10, sub{2.**-$k})' > > # out='0.9990234375', type='Math::Pari' > > # expect='0.9990234375000001' > > (22:15) gp > sum(k=1,10,2.^-k) > %1 = 0.999023437500000000000000000000 This is what is in src/test/32/sumiter. So I need to understand how 0.9990234375000001 jumped to existence... Thanks for clearing my mind, Ilya