Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-16 Thread Matthew Brett
Hi, On Fri, Mar 16, 2012 at 5:36 AM, wrote: > On Fri, Mar 16, 2012 at 2:10 AM, Ilan Schnell wrote: >> I just did a quick test across all supported EPD platforms: >> win-64: float96 No, float128 No >> win-32: float96 No, float128 No >> osx-64: float96 No, float128 Yes >> osx-32: float96 No, floa

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-16 Thread josef . pktd
On Fri, Mar 16, 2012 at 2:10 AM, Ilan Schnell wrote: > I just did a quick test across all supported EPD platforms: > win-64: float96 No, float128 No > win-32: float96 No, float128 No > osx-64: float96 No, float128 Yes > osx-32: float96 No, float128 Yes > rh3-64: float96 No, float128 Yes > rh3-32:

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Ilan Schnell
I just did a quick test across all supported EPD platforms: win-64: float96 No, float128 No win-32: float96 No, float128 No osx-64: float96 No, float128 Yes osx-32: float96 No, float128 Yes rh3-64: float96 No, float128 Yes rh3-32: float96 Yes, float128 No rh5-64: float96 No, float128 Yes rh5-32: fl

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 10:26 PM, Ilan Schnell wrote: > To be more precise.  On both 32-bit and 64-bit Windows > machines I don't see.float96 as well as np.float128 Do you have any idea why I am seeing float96 and you are not? I'm on XP with the current sourceforge 1.6.1 exe installer with

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Ilan Schnell
To be more precise. On both 32-bit and 64-bit Windows machines I don't see.float96 as well as np.float128 - Ilan On Fri, Mar 16, 2012 at 12:22 AM, Matthew Brett wrote: > Hi, > > On Thu, Mar 15, 2012 at 10:17 PM, Ilan Schnell wrote: >> I'm seeing the same thing on both (64 and 32-bit) Windows

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 10:17 PM, Ilan Schnell wrote: > I'm seeing the same thing on both (64 and 32-bit) Windows > EPD test machines.  I guess Windows does not support 128 > bit floats. Do you mean there is no float96 on windows 32 bit as I described at the beginning of the thread? > I did

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Ilan Schnell
I'm seeing the same thing on both (64 and 32-bit) Windows EPD test machines. I guess Windows does not support 128 bit floats. I did some tests a few weeks ago, and discovered that also on the Mac and Linux long long double is not really 128 bits. If I remember correctly it was 80 bits: 1 (sign) +

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 9:41 PM, Val Kalatsky wrote: > I does look like a joke. > Here is print np.finfo(np.longdouble) > > In [2]: np.__version__ > Out[2]: '1.6.1' > > In [3]: np.flo > np.float        np.float32      np.float_       np.floor > np.float16      np.float64      np.floating    

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Warren Weckesser
On Thu, Mar 15, 2012 at 11:41 PM, Val Kalatsky wrote: > I does look like a joke. > Here is print np.finfo(np.longdouble) > > In [2]: np.__version__ > Out[2]: '1.6.1' > > In [3]: np.flo > np.floatnp.float32 np.float_ np.floor > np.float16 np.float64 np.floating np.

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Val Kalatsky
I does look like a joke. Here is print np.finfo(np.longdouble) In [2]: np.__version__ Out[2]: '1.6.1' In [3]: np.flo np.floatnp.float32 np.float_ np.floor np.float16 np.float64 np.floating np.floor_divide In [3]: print np.finfo(np.longdouble) Machine parameters f

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 9:33 PM, Val Kalatsky wrote: > > I just happened to have an xp64 VM running: > My version of numpy (1.6.1) does not have float128 (see more below what I > get in ipython session). > If you need to test something else please let me know. Thanks a lot - that's helpful.

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Benjamin Root
On Thursday, March 15, 2012, Charles R Harris wrote: > > > On Thu, Mar 15, 2012 at 10:17 PM, David Cournapeau wrote: >> >> >> On Thu, Mar 15, 2012 at 11:10 PM, Matthew Brett wrote: >>> >>> Hi, >>> >>> Am I right in thinking that float96 on windows 32 bit is a float64 >>> padded to 96 bits? >> >>

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Val Kalatsky
I just happened to have an xp64 VM running: My version of numpy (1.6.1) does not have float128 (see more below what I get in ipython session). If you need to test something else please let me know. Val --- Enthought Python Distribution -- www.enthought.com Python 2.7.2 |EPD 7.2-2 (64-bit)| (defau

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 9:24 PM, Charles R Harris wrote: > > > On Thu, Mar 15, 2012 at 10:17 PM, David Cournapeau > wrote: >> >> >> >> On Thu, Mar 15, 2012 at 11:10 PM, Matthew Brett >> wrote: >>> >>> Hi, >>> >>> Am I right in thinking that float96 on windows 32 bit is a float64 >>> padded

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, On Thu, Mar 15, 2012 at 9:17 PM, David Cournapeau wrote: > > > On Thu, Mar 15, 2012 at 11:10 PM, Matthew Brett > wrote: >> >> Hi, >> >> Am I right in thinking that float96 on windows 32 bit is a float64 >> padded to 96 bits? > > > Yes > >> >>  If so, is it useful? > > > Yes: this is what all

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Charles R Harris
On Thu, Mar 15, 2012 at 10:17 PM, David Cournapeau wrote: > > > On Thu, Mar 15, 2012 at 11:10 PM, Matthew Brett > wrote: > >> Hi, >> >> Am I right in thinking that float96 on windows 32 bit is a float64 >> padded to 96 bits? > > > Yes > > >> If so, is it useful? > > > Yes: this is what allows yo

Re: [Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread David Cournapeau
On Thu, Mar 15, 2012 at 11:10 PM, Matthew Brett wrote: > Hi, > > Am I right in thinking that float96 on windows 32 bit is a float64 > padded to 96 bits? Yes > If so, is it useful? Yes: this is what allows you to use dtype to parse complex binary files directly in numpy without having to car

[Numpy-discussion] float96 on windows32 is float64?

2012-03-15 Thread Matthew Brett
Hi, Am I right in thinking that float96 on windows 32 bit is a float64 padded to 96 bits? If so, is it useful? Has anyone got a windows64 box to check float128 ? Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license