[Numpy-tickets] [NumPy] #974: FAIL: test_umath.TestComplexFunctions.test_against_cmath

NumPy numpy-tickets@scipy....
Sat Dec 20 07:41:42 CST 2008

#974: FAIL: test_umath.TestComplexFunctions.test_against_cmath
 Reporter:  nils        |        Owner:  somebody
     Type:  defect      |       Status:  new     
 Priority:  normal      |    Milestone:  1.3.0   
Component:  numpy.core  |      Version:  none    
 Severity:  normal      |   Resolution:          
 Keywords:              |  
Comment (by pv):

 It's a branch cut issue. The behavior of our complex functions is
 undefined on the branch cuts (varies across platforms), whereas cmath (as
 of Python 2.6) follows the C99 specification.

 So, the tests are wrong. Comparison on points on branch cuts removed in
 r6175 -> fixed.

Ticket URL: <http://scipy.org/scipy/numpy/ticket/974#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list