[Numpy-tickets] [NumPy] #507: invalid math result in numpy.sqrt() and numpy.square() when using 2^32 and (2^32)^2

NumPy numpy-tickets@scipy....
Sun Apr 29 10:24:11 CDT 2007


#507: invalid math result in numpy.sqrt() and numpy.square() when using 2^32 and
(2^32)^2
----------------------+-----------------------------------------------------
 Reporter:  Xiph1980  |        Owner:  somebody
     Type:  defect    |       Status:  closed  
 Priority:  high      |    Milestone:          
Component:  Other     |      Version:  none    
 Severity:  critical  |   Resolution:  wontfix 
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by rkern):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 numpy does not try to hide the underlying implementation, mostly for
 reasons of efficiency. We do not check for integer overflow as that would
 slow down every integer operation. The answer you get is what the CPU
 gives us.

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/507#comment:3>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list