[Numpy-discussion] numpy + MKL and AMD64 CPU, recognized as 32 bit

2010-05-02 Thread Andrzej Giniewicz
Hi, from what I've been reading, and testing myself, 64bit CPU's from AMD and actually it seems like almost all 64bit other than IA64, use em64t in MKL - but in Numpy (at least 1.4.1), this architecture is picked only for Xeon - though older Xeons were not 64 bit iirc - I'm talking about numpy/dis

Re: [Numpy-discussion] Question about numpy.arange()

2010-05-02 Thread Robert Kern
On Sat, May 1, 2010 at 15:36, Gökhan Sever wrote: > Hello, > > Is "b" an expected value? I am suspecting another floating point arithmetic > issue. > > I[1]: a = np.arange(1.6, 1.8, 0.1, dtype='float32') > > I[2]: a > O[2]: array([ 1.6002,  1.7005], dtype=float32) > > I[3]: b = np.arange(1

Re: [Numpy-discussion] Question about numpy.arange()

2010-05-02 Thread Warren Weckesser
Gökhan Sever wrote: > Hello, > > Is "b" an expected value? I am suspecting another floating point > arithmetic issue. Exactly. You'll see the same type of problem with float64, too: In [17]: z = np.arange(1.7, 1.8, 0.1) In [18]: z Out[18]: array([ 1.7, 1.8]) In [19]: z[1] == 1.8 Out[19]: Tr

[Numpy-discussion] bug, issue with genfromtxt

2010-05-02 Thread Vincent Davis
I ran into this issue and it was discussed on the pystatsmodels mailing list. Here is the setup Running on a Mac 10.6 Using Office 2008 Saving an spreadsheet using excel "save as" a csv file. Try to import using genfromtxt fails, report a EOL error I thought this was because the EOL was wrong, It

Re: [Numpy-discussion] Question about numpy.arange()

2010-05-02 Thread Keith Goodman
On Sat, May 1, 2010 at 1:36 PM, Gökhan Sever wrote: > Hello, > > Is "b" an expected value? I am suspecting another floating point arithmetic > issue. > > I[1]: a = np.arange(1.6, 1.8, 0.1, dtype='float32') > > I[2]: a > O[2]: array([ 1.6002,  1.7005], dtype=float32) > > I[3]: b = np.arange

Re: [Numpy-discussion] Question about numpy.arange()

2010-05-02 Thread Anne Archibald
On 1 May 2010 16:36, Gökhan Sever wrote: > Hello, > > Is "b" an expected value? I am suspecting another floating point arithmetic > issue. > > I[1]: a = np.arange(1.6, 1.8, 0.1, dtype='float32') > > I[2]: a > O[2]: array([ 1.6002,  1.7005], dtype=float32) > > I[3]: b = np.arange(1.7, 1.8,