
gmpy - issue #5
Gmp testsuite causes interpreter floating point error on Mac OS X Leopard
What steps will reproduce the problem?
- svn checkout http://gmpy.googlecode.com/svn/trunk/ gmpy
- python gmpy/test/gmpy_test_mpf.py
I would expect something ending with 'Test passed' (hopefully) or a report of failed tests.
Instead the python interpreter badly fails because of a floating point exception in the interpreter.
% python gmpy/test/gmpy_test_mpf.py Unit tests for gmpy 1.02 release candidate (mpf functionality) running on Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17) [GCC 4.0.1 (Apple Inc. build 5465)]
Testing gmpy 1.02 (GMP 4.2.2) with default caching (20, 20, -2..11) [1] 9923 floating point exception python gmpy/test/gmpy_test_mpf.py
Then it appears the usual OS window informing that process Python has crashed and asking whether I want to inform apple.
I'm using
Mac OS X Leopard 10.5.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu- 1228.4.31~1/RELEASE_I386 i386
Default Python 2.5 % python --version Python 2.5.1
gmp 4.2.2 (make checked and working)
gmpy 1.02 RC
The rest of gmpy works (passes all the test excepted the one on mpf).
Comment #1
Posted on Apr 5, 2008 by Helpful PandaSorry. It appears I sent it two times.
Comment #2
Posted on Jun 23, 2008 by Grumpy WombatDuplicate.
Status: Duplicate
Labels:
Type-Defect
Priority-Medium