[issue9920] test_cmath on atan fails on AIX

2013-03-14 Thread alef
Changes by alef : -- nosy: +alef ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/

[issue9920] test_cmath on atan fails on AIX

2012-08-18 Thread Mark Dickinson
Mark Dickinson added the comment: The fix applied for issue #15477 should also fix this issue. -- status: open -> closed versions: +Python 3.3 ___ Python tracker ___ _

[issue9920] test_cmath on atan fails on AIX

2011-02-14 Thread Sébastien Sablé
Sébastien Sablé added the comment: Here is the result after applying that patch: == FAIL: test_specific_values (__main__.CMathTests) -- Traceback (most recent

[issue9920] test_cmath on atan fails on AIX

2011-02-11 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file20745/issue9920.patch ___ Python tracker ___

[issue9920] test_cmath on atan fails on AIX

2011-02-10 Thread Mark Dickinson
Mark Dickinson added the comment: Ha, yes. I commented out the first four tests for zeros of atan in the cmath_testcases.txt file, but failed to notice that they're tested again, later on. And the same goes for atanh. I need to look at this, but I don't have write-access to the Python svn r

[issue9920] test_cmath on atan fails on AIX

2011-02-10 Thread Sébastien Sablé
Sébastien Sablé added the comment: Mark, sorry for the late reply; I stopped focusing on AIX for some time. I ran test_cmath on trunk this morning and got a different error this time: == FAIL: test_specific_values (test.test_

[issue9920] test_cmath on atan fails on AIX

2011-01-07 Thread Mark Dickinson
Changes by Mark Dickinson : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9920] test_cmath on atan fails on AIX

2010-11-20 Thread Mark Dickinson
Mark Dickinson added the comment: This should now be fixed in r86553. If you have a chance to test and report back, that would be great! -- resolution: -> fixed stage: -> committed/rejected status: open -> pending ___ Python tracker

[issue9920] test_cmath on atan fails on AIX

2010-09-23 Thread Sébastien Sablé
Sébastien Sablé added the comment: No problem; I tried with a different compiler this time (gcc instead of xlc) and with -O0 just to be sure it is not a compiler issue. I had the same error. I tried your test and you are right, the problem happens with log1p dropping the sign: >>> import mat

[issue9920] test_cmath on atan fails on AIX

2010-09-23 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks; so it's probably not an optimization bug, but rather a math library bug somewhere. And thanks for the tanh result; unfortunately I asked the wrong question---I meant to ask about atanh(complex(-0.0, 0.0)) :( Analysis: atan(z) is computed internally

[issue9920] test_cmath on atan fails on AIX

2010-09-23 Thread Sébastien Sablé
Sébastien Sablé added the comment: Thanks for the quick reply Mark. I tried with pydebug and got the same error. Here is the trace for your last question: Python 3.2a2+ (py3k:84969M, Sep 23 2010, 10:55:24) [C] on aix6 Type "help", "copyright", "credits" or "license" for more information. >>>

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Mark Dickinson
Mark Dickinson added the comment: Sorry---one more question: could you tell me what the following gives on the AIX machine? Python 2.7 (r27:82500, Aug 15 2010, 14:21:15) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> f

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Mark Dickinson
Mark Dickinson added the comment: P.S. Was the test with a debug build of Python? If not, could you see if the test failure still occurs with a debug build (i.e., when --with-pydebug is passed as a configure argument)? That would help eliminate compiler optimization bugs as a possible caus

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report. This looks like it's probably a bug (not a particularly serious one, but worth reporting) on AIX. The 'tanh' configure test diagnoses a similar wrong-sign-of-zero problem on FreeBSD; it looks as though AIX is happy here---that is, 'ye

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Sébastien Sablé
New submission from Sébastien Sablé : test_cmath will fail with the following error on AIX: == FAIL: test_specific_values (test.test_cmath.CMathTests) -- Traceb