[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 09:01:36 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:  new     
 Priority:  high      |    Milestone:          
Component:  Other     |      Version:  none    
 Severity:  critical  |   Resolution:          
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by Xiph1980):

 Well, also just tested it on a red hat machine, and thesame result.

 {{{
 Python 2.3.4 (#1, Sep 26 2006, 17:23:01)
 [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy
 >>> numpy.square(100000)
 1410065408
 >>> print numpy.__version__
 1.0
 >>>
 }}}

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


More information about the Numpy-tickets mailing list