Bugs item #1245381, was opened at 2005-07-26 09:38 Message generated for change (Comment added) made by nnorwitz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1245381&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Interpreter Core Group: Python 2.3 Status: Open Resolution: None Priority: 5 Submitted By: Jiri Dluhos (jdluhos) Assigned to: Nobody/Anonymous (nobody) Summary: log() on a big number fails on powerpc64 Initial Comment: The log() function seems to give incorrect results for large numbers on a 64-bit powerpc architecture. The test_math program from the Python test suite fails with the following message: math module, testing with eps 1e-05 constants acos asin atan atan2 ceil cos cosh degrees exp fabs floor fmod frexp hypot ldexp log Traceback (most recent call last): File "test_math.py", line 117, in ? testit('log(10**40, 10)', math.log(10**40, 10), 40) File "test_math.py", line 13, in testit raise TestFailed, '%s returned %f, expected %f'%test.test_support.TestFailed: log(10**40, 10) returned 21.938200, expected 40.000000 Tested on a SMP IBM PowerPC machine, with Python 2.3.4 (64-bit build). ---------------------------------------------------------------------- >Comment By: Neal Norwitz (nnorwitz) Date: 2005-09-29 23:36 Message: Logged In: YES user_id=33168 Can you test with newer versions of Python, preferrably 2.4.2 or current CVS? 2.3.4 worked for me on 64-bit Opteron. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1245381&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com