Author mark.dickinson
Recipients mark.dickinson, pitrou
Date 2009-03-29.14:11:17
SpamBayes Score 1.40723e-06
Marked as misclassified No
Message-id <1238335880.27.0.570661092551.issue5593@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks, Antoine!  Yes, I can now reproduce the testFsum failure on my 
MacBook Pro (OS X 10.5.6/x86_64, with Apple's gcc 4.0.1) using the 
following sequence of commands:  (I tested this for the trunk, but I 
py3k should be just the same).

make distclean
CC="gcc -arch x86_64" ./configure && make
./python.exe -m test.regrtest -v test_math
rm Parser/*.o
CC="gcc -mfpmath=387" ./configure && make
./python.exe -m test.regrtest -v test_math

(the rm is necessary to avoid a 'wrong architecture' build failure).

It might be worth making the tests a bit more robust here;  I'll
take a look.  On the other hand, there are plans to replace fsum
with a double-rounding-friendly version.
History
Date User Action Args
2009-03-29 14:11:20mark.dickinsonsetrecipients: + mark.dickinson, pitrou
2009-03-29 14:11:20mark.dickinsonsetmessageid: <1238335880.27.0.570661092551.issue5593@psf.upfronthosting.co.za>
2009-03-29 14:11:18mark.dickinsonlinkissue5593 messages
2009-03-29 14:11:17mark.dickinsoncreate