[Numpy-discussion] int64 wierdness

Andrew Straw strawman at astraw.com
Tue Jun 27 18:37:21 EDT 2006


An SVN checkout from a week or two ago looks OK on my amd64 machine:

astraw at hdmg:~$ python
Python 2.4.3 (#2, Apr 27 2006, 14:43:32)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy
 >>> numpy.__version__
'0.9.9.2631'
 >>> numpy.int64(9)**2
81
 >>>


EI wrote:

> numpy.__version__ says 0.9.8.
>
> Python 2.4.2, GCC 4.1, OpenSuSE 10.1 (x86_64).
>
> Thanks Travis,
> Eugene
>
> On 6/27/06, *Travis Oliphant* < oliphant.travis at ieee.org 
> <mailto:oliphant.travis at ieee.org>> wrote:
>
>     EI wrote:
>     > Hi,
>     >
>     > I'm running python 2.4 on a 64bit linux and get strange results:
>     > (int(9))**2 is equal to 81, as it should, but
>     > (int64(9))**2 is equal to 0
>
>     Thanks for the bug-report.  Please provide the version of NumPy
>     you are
>     using so we can track it down, or suggest an upgrade.
>
>     -Travis
>
>
>------------------------------------------------------------------------
>
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Numpy-discussion mailing list
>Numpy-discussion at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/numpy-discussion
>  
>





More information about the NumPy-Discussion mailing list