[Numpy-discussion] int64 wierdness (original) (raw)
Vincent Schut schut at sarvision.nl
Wed Jun 28 10:03:55 EDT 2006
- Previous message (by thread): [Numpy-discussion] int64 wierdness
- Next message (by thread): [Numpy-discussion] numexpr does sum.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Andrew Straw wrote:
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 >>> Confirmed to be fixed on my gentoo amd64 machine, numpy svn of couple of days ago:
numpy.int64(9)**2 81 numpy.version '0.9.9.2665'
Cheers, Vincent.
EI wrote:
numpy.version says 0.9.8. Python 2.4.2, GCC 4.1, OpenSuSE 10.1 (x8664). 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
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
- Previous message (by thread): [Numpy-discussion] int64 wierdness
- Next message (by thread): [Numpy-discussion] numexpr does sum.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]