Re: [Numpy-discussion] Floating point precision expectations in NumPy

2021-08-19 Thread Stanley Seibert
On Thu, Aug 19, 2021 at 2:13 AM Jerry Morrison < jerry.morrison+nu...@gmail.com> wrote: > > I'll put forth an expectation that after installing a specific set of > libraries, the floating point results would be identical across platforms > and into the future. Ideally developers could install libr

Re: [Numpy-discussion] Floating point precision expectations in NumPy

2021-08-19 Thread Jerry Morrison
On Fri, Jul 30, 2021 at 12:22 PM Sebastian Berg wrote: > On Fri, 2021-07-30 at 11:04 -0700, Jerry Morrison wrote: > > On Tue, Jul 27, 2021 at 4:55 PM Sebastian Berg < > > sebast...@sipsolutions.net> > > wrote: > > > > > Hi all, > > > > > > there is a proposal to add some Intel specific fast math

Re: [Numpy-discussion] Floating point precision expectations in NumPy

2021-08-18 Thread Jerome Kieffer
I strongly agree with you Gregor: * Best precision should remain the default. I lost months in finding the compiler option (in ICC) which switched to LA mode and broke all my calculations. * I wonder how those SVML behaves on non-intel plateform ? Sleef provides the same approach but it works

Re: [Numpy-discussion] Floating point precision expectations in NumPy

2021-07-30 Thread Sebastian Berg
On Fri, 2021-07-30 at 11:04 -0700, Jerry Morrison wrote: > On Tue, Jul 27, 2021 at 4:55 PM Sebastian Berg < > sebast...@sipsolutions.net> > wrote: > > > Hi all, > > > > there is a proposal to add some Intel specific fast math routine to > > NumPy: > > > >     https://github.com/numpy/numpy/pull

Re: [Numpy-discussion] Floating point precision expectations in NumPy

2021-07-30 Thread Jerry Morrison
On Tue, Jul 27, 2021 at 4:55 PM Sebastian Berg wrote: > Hi all, > > there is a proposal to add some Intel specific fast math routine to > NumPy: > > https://github.com/numpy/numpy/pull/19478 > > part of numerical algorithms is that there is always a speed vs. > precision trade-off, giving a m

Re: [Numpy-discussion] Floating point precision expectations in NumPy

2021-07-28 Thread Gregor Thalhammer
> Am 28.07.2021 um 01:50 schrieb Sebastian Berg : > > Hi all, > > there is a proposal to add some Intel specific fast math routine to > NumPy: > >https://github.com/numpy/numpy/pull/19478 Many years ago I wrote a package https://github.com/geggo/uvml that makes the VML, a fast implementat

[Numpy-discussion] Floating point precision expectations in NumPy

2021-07-27 Thread Sebastian Berg
Hi all, there is a proposal to add some Intel specific fast math routine to NumPy: https://github.com/numpy/numpy/pull/19478 part of numerical algorithms is that there is always a speed vs. precision trade-off, giving a more precise result is slower. So there is a question what the general