Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Michael Gilbert
On Wed, Sep 8, 2010 at 5:35 PM, Michael Gilbert wrote: > On Wed, 8 Sep 2010 15:44:02 -0400, Michael Gilbert wrote: >> On Wed, Sep 8, 2010 at 12:23 PM, Charles R Harris wrote: >> > >> > >> > On Wed, Sep 8, 2010 at 9:46 AM, Michael Gilbert >> > wrote: >> >> >> >> On Wed, 8 Sep 2010 09:43:56 -0600,

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Michael Gilbert
On Wed, 8 Sep 2010 15:44:02 -0400, Michael Gilbert wrote: > On Wed, Sep 8, 2010 at 12:23 PM, Charles R Harris wrote: > > > > > > On Wed, Sep 8, 2010 at 9:46 AM, Michael Gilbert > > wrote: > >> > >> On Wed, 8 Sep 2010 09:43:56 -0600, Charles R Harris wrote: > >> > On Wed, Sep 8, 2010 at 9:26 AM, Mi

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Anne Archibald
On 8 September 2010 16:33, Robert Kern wrote: > On Wed, Sep 8, 2010 at 15:10, Michael Gilbert > wrote: >> On Wed, 8 Sep 2010 15:04:17 -0500, Robert Kern wrote: >>> On Wed, Sep 8, 2010 at 14:44, Michael Gilbert >>> wrote: > >>> > Just wanted to say that numpy object arrays + decimal solved all of

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Robert Kern
On Wed, Sep 8, 2010 at 15:10, Michael Gilbert wrote: > On Wed, 8 Sep 2010 15:04:17 -0500, Robert Kern wrote: >> On Wed, Sep 8, 2010 at 14:44, Michael Gilbert >> wrote: >> > Just wanted to say that numpy object arrays + decimal solved all of my >> > problems, which were all caused by the disconne

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Michael Gilbert
On Wed, 8 Sep 2010 22:20:30 +0200, Sandro Tosi wrote: > On Wed, Sep 8, 2010 at 22:10, Michael Gilbert > wrote: > > Here is an example: > > > >   >>> 0.3/3.0 - 0.1 > >   -1.3877787807814457e-17 > > > >   >>> mpmath.mpf( '0.3' )/mpmath.mpf( '3.0' ) - mpmath.mpf( '0.1' ) > >   mpf('-1.387778780781445

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Sandro Tosi
On Wed, Sep 8, 2010 at 22:10, Michael Gilbert wrote: > Here is an example: > >   >>> 0.3/3.0 - 0.1 >   -1.3877787807814457e-17 > >   >>> mpmath.mpf( '0.3' )/mpmath.mpf( '3.0' ) - mpmath.mpf( '0.1' ) >   mpf('-1.3877787807814457e-17') > >   >>> decimal.Decimal( '0.3' )/decimal.Decimal( '3.0' ) - de

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Michael Gilbert
On Wed, 8 Sep 2010 15:04:17 -0500, Robert Kern wrote: > On Wed, Sep 8, 2010 at 14:44, Michael Gilbert > wrote: > > On Wed, Sep 8, 2010 at 12:23 PM, Charles R Harris wrote: > >> > >> > >> On Wed, Sep 8, 2010 at 9:46 AM, Michael Gilbert > >> wrote: > >>> > >>> On Wed, 8 Sep 2010 09:43:56 -0600, Cha

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Robert Kern
On Wed, Sep 8, 2010 at 14:44, Michael Gilbert wrote: > On Wed, Sep 8, 2010 at 12:23 PM, Charles R Harris wrote: >> >> >> On Wed, Sep 8, 2010 at 9:46 AM, Michael Gilbert >> wrote: >>> >>> On Wed, 8 Sep 2010 09:43:56 -0600, Charles R Harris wrote: >>> > On Wed, Sep 8, 2010 at 9:26 AM, Michael Gilbe

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Michael Gilbert
On Wed, Sep 8, 2010 at 12:23 PM, Charles R Harris wrote: > > > On Wed, Sep 8, 2010 at 9:46 AM, Michael Gilbert > wrote: >> >> On Wed, 8 Sep 2010 09:43:56 -0600, Charles R Harris wrote: >> > On Wed, Sep 8, 2010 at 9:26 AM, Michael Gilbert >> > > > > wrote: >> > >> > > Hi, >> > > >> > > Are there an

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Charles R Harris
On Wed, Sep 8, 2010 at 9:46 AM, Michael Gilbert wrote: > On Wed, 8 Sep 2010 09:43:56 -0600, Charles R Harris wrote: > > On Wed, Sep 8, 2010 at 9:26 AM, Michael Gilbert < > michael.s.gilb...@gmail.com > > > wrote: > > > > > Hi, > > > > > > Are there any plans to add support for decimal floating po

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread David Cournapeau
On Thu, Sep 9, 2010 at 12:43 AM, Charles R Harris wrote: > > > On Wed, Sep 8, 2010 at 9:26 AM, Michael Gilbert > wrote: >> >> Hi, >> >> Are there any plans to add support for decimal floating point >> arithmetic, as defined in the 2008 revision of the IEEE 754 standard >> [0], in numpy? >> > > No

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Michael Gilbert
On Wed, 8 Sep 2010 09:43:56 -0600, Charles R Harris wrote: > On Wed, Sep 8, 2010 at 9:26 AM, Michael Gilbert > wrote: > > > Hi, > > > > Are there any plans to add support for decimal floating point > > arithmetic, as defined in the 2008 revision of the IEEE 754 standard > > [0], in numpy? > > > >

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Charles R Harris
On Wed, Sep 8, 2010 at 9:26 AM, Michael Gilbert wrote: > Hi, > > Are there any plans to add support for decimal floating point > arithmetic, as defined in the 2008 revision of the IEEE 754 standard > [0], in numpy? > > Not at the moment. There is currently no hardware or C support and adding new

Re: [Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Robert Kern
On Wed, Sep 8, 2010 at 10:26, Michael Gilbert wrote: > Hi, > > Are there any plans to add support for decimal floating point > arithmetic, as defined in the 2008 revision of the IEEE 754 standard > [0], in numpy? No, there are no plans. Although IEEE 754-2008 defines the format and semantics of s

[Numpy-discussion] IEEE 754-2008 decimal floating point support

2010-09-08 Thread Michael Gilbert
Hi, Are there any plans to add support for decimal floating point arithmetic, as defined in the 2008 revision of the IEEE 754 standard [0], in numpy? Thanks for any info. Best wishes, Mike [0] http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=4610935&tag=1 ___