[NumPy-Tickets] [NumPy] #1395: incorrect conversion from float128 to long

NumPy Trac numpy-tickets@scipy....
Tue Feb 9 23:13:01 CST 2010


#1395: incorrect conversion from float128 to long
------------------------+---------------------------------------------------
 Reporter:  amcnabb     |       Owner:  somebody      
     Type:  defect      |      Status:  needs_decision
 Priority:  normal      |   Milestone:                
Component:  numpy.core  |     Version:                
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by cdavid):

  * status:  new => needs_decision


Comment:

 This may not be easy to fix. I think we would need to convert by ourselves
 a long double to a python representation of an integer, and doing so with
 plain 64 bits integer is difficult (your problem is caused by the integral
 part being too big for a unsigned 64 bits integer).

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


More information about the NumPy-Tickets mailing list