[NumPy-Tickets] [NumPy] #2173: __int__() segfaults for float128

NumPy Trac numpy-tickets@scipy....
Tue Jun 19 21:23:44 CDT 2012


#2173: __int__() segfaults for float128
------------------------+---------------------------------------------------
 Reporter:  edcjones    |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  1.6.1      
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by edcjones):

 Also

 M = numpy.finfo(numpy.float128).max

 i = int(M)

 raises "OverflowError: cannot convert float infinity to integer".

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


More information about the NumPy-Tickets mailing list