[NumPy-Tickets] [NumPy] #1940: uint64 modulo arithmetic broken

NumPy Trac numpy-tickets@scipy....
Mon Aug 22 10:09:45 CDT 2011


#1940: uint64 modulo arithmetic broken
----------------------+-----------------------------------------------------
 Reporter:  AngerMCS  |       Owner:  somebody   
     Type:  defect    |      Status:  new        
 Priority:  normal    |   Milestone:  Unscheduled
Component:  Other     |     Version:  1.6.0      
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by charris):

 I suspect this is another case of the 2 being treated as signed, hence the
 promotion to float64, which has insufficient precision. This also shows up
 in the shift operators, but there things are (were) promoted to objects.
 These ufuncs probably need special treatment of their arguments.

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


More information about the NumPy-Tickets mailing list