[NumPy-Tickets] [NumPy] #1499: test fails: test_ldexp (test_umath.TestLdexp)

NumPy Trac numpy-tickets@scipy....
Tue Jul 20 01:57:52 CDT 2010


#1499: test fails: test_ldexp (test_umath.TestLdexp)
----------------------+-----------------------------------------------------
 Reporter:  sienkiew  |       Owner:  somebody  
     Type:  defect    |      Status:  needs_info
 Priority:  normal    |   Milestone:  2.0.0     
Component:  Other     |     Version:            
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by cgohlke):

 I get this failure on all msvc builds of numpy 1.5.0.dev for Windows
 because there is no LDEXPL function. However, on this platform, since
 sizeof(long double) == sizeof(double), it would be safe to use the double
 precision LDEXP function. Same for FREXP.

 A patch is attached.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1499#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list