[NumPy-Tickets] [NumPy] #1633: Changeset 8438 breaks ldexp on 64bit/bigendian systems

NumPy Trac numpy-tickets@scipy....
Mon Oct 11 15:37:09 CDT 2010


#1633: Changeset 8438 breaks ldexp on 64bit/bigendian systems
--------------------+-------------------------------------------------------
 Reporter:  nics    |       Owner:  somebody    
     Type:  defect  |      Status:  needs_review
 Priority:  normal  |   Milestone:  1.5.1       
Component:  Other   |     Version:  1.5.0       
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by pv):

 I think this patch is problematic -- it seems it will reintroduce #866.

 Not accepting the platform default int type (which is long) is asking for
 trouble. I don't see really good ways around this. I'd perhaps just check
 the size of the integer, and emulate the HUGE_VAL return that ldexp
 normally does.

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


More information about the NumPy-Tickets mailing list