Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-24 Thread Carl Kleffner
Hi Julian, to distinguish between mingw32 and mingw-w64 we need something like this: #include if !defined(HAVE_EXPM1) || defined(__MINGW64_VERSION_MAJOR) instead of if !defined(HAVE_EXPM1) || defined(__MINGW32__) the latter is true for both: mingw32 and mingw-w64. I guess the mingw32 implemen

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-23 Thread Matthew Brett
Hi, On Wed, Apr 23, 2014 at 2:27 PM, Julian Taylor wrote: > On 23.04.2014 21:25, Matthew Brett wrote: >> Hi, >> >> On Tue, Apr 15, 2014 at 12:34 AM, Julian Taylor >> wrote: >>> On Tue, Apr 15, 2014 at 4:30 AM, Matthew Brett >>> wrote: It looks as though mingw-w64 is at fault, and I w

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-23 Thread Julian Taylor
On 23.04.2014 21:25, Matthew Brett wrote: > Hi, > > On Tue, Apr 15, 2014 at 12:34 AM, Julian Taylor > wrote: >> On Tue, Apr 15, 2014 at 4:30 AM, Matthew Brett >> wrote: >>> >>> It looks as though mingw-w64 is at fault, and I was confused (still >>> am) because of the different behavior with dou

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-23 Thread Matthew Brett
Hi, On Tue, Apr 15, 2014 at 12:34 AM, Julian Taylor wrote: > On Tue, Apr 15, 2014 at 4:30 AM, Matthew Brett > wrote: >> >> It looks as though mingw-w64 is at fault, and I was confused (still >> am) because of the different behavior with double and a constant: >> >> #include >> #include >> >>

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-15 Thread Julian Taylor
On Tue, Apr 15, 2014 at 4:30 AM, Matthew Brett wrote: > > It looks as though mingw-w64 is at fault, and I was confused (still > am) because of the different behavior with double and a constant: > > #include > #include > > int main() { > double z, i = -0.0; > printf("With double %f=%f, wi

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
On Mon, Apr 14, 2014 at 5:01 PM, Matthew Brett wrote: > Hi, > > On Mon, Apr 14, 2014 at 3:55 PM, Charles R Harris > wrote: >> >> >> >> On Mon, Apr 14, 2014 at 4:40 PM, Matthew Brett >> wrote: >>> >>> Hi, >>> >>> On Mon, Apr 14, 2014 at 2:58 PM, Charles R Harris >>> wrote: >>> > >>> > >>> > >>>

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
Hi, On Mon, Apr 14, 2014 at 3:55 PM, Charles R Harris wrote: > > > > On Mon, Apr 14, 2014 at 4:40 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Mon, Apr 14, 2014 at 2:58 PM, Charles R Harris >> wrote: >> > >> > >> > >> > On Mon, Apr 14, 2014 at 3:38 PM, Matthew Brett >> > wrote: >> >> >> >> Hi

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Charles R Harris
On Mon, Apr 14, 2014 at 4:40 PM, Matthew Brett wrote: > Hi, > > On Mon, Apr 14, 2014 at 2:58 PM, Charles R Harris > wrote: > > > > > > > > On Mon, Apr 14, 2014 at 3:38 PM, Matthew Brett > > wrote: > >> > >> Hi, > >> > >> On Mon, Apr 14, 2014 at 2:02 PM, Julian Taylor > >> wrote: > >> > The offi

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
Hi, On Mon, Apr 14, 2014 at 2:58 PM, Charles R Harris wrote: > > > > On Mon, Apr 14, 2014 at 3:38 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Mon, Apr 14, 2014 at 2:02 PM, Julian Taylor >> wrote: >> > The official numpy mingw binaries do not have all these math issues. >> > Only the VC builds

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread David Cournapeau
On Mon, Apr 14, 2014 at 10:02 PM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > The official numpy mingw binaries do not have all these math issues. > Only the VC builds do. > As mingw is fine the functions must be somewhere in the windows API but > no-one has contributed a fix for the V

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Charles R Harris
On Mon, Apr 14, 2014 at 3:38 PM, Matthew Brett wrote: > Hi, > > On Mon, Apr 14, 2014 at 2:02 PM, Julian Taylor > wrote: > > The official numpy mingw binaries do not have all these math issues. > > Only the VC builds do. > > As mingw is fine the functions must be somewhere in the windows API but >

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
Hi, On Mon, Apr 14, 2014 at 2:02 PM, Julian Taylor wrote: > The official numpy mingw binaries do not have all these math issues. > Only the VC builds do. > As mingw is fine the functions must be somewhere in the windows API but > no-one has contributed a fix for the VC builds to numpy yet. I'm b

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Julian Taylor
The official numpy mingw binaries do not have all these math issues. Only the VC builds do. As mingw is fine the functions must be somewhere in the windows API but no-one has contributed a fix for the VC builds to numpy yet. On 14.04.2014 22:43, Carl Kleffner wrote: > Hi, > > mingw has expm1. Is

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Carl Kleffner
Hi, mingw has expm1. Is this function suitable? Regards Carl 2014-04-14 21:34 GMT+02:00 Eric Moore : > > > On Monday, April 14, 2014, Matthew Brett wrote: > >> Hi, >> >> On Mon, Apr 14, 2014 at 12:12 PM, Warren Weckesser >> wrote: >> > >> > On Mon, Apr 14, 2014 at 2:59 PM, Matthew Brett >

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Eric Moore
On Monday, April 14, 2014, Matthew Brett wrote: > Hi, > > On Mon, Apr 14, 2014 at 12:12 PM, Warren Weckesser > > wrote: > > > > On Mon, Apr 14, 2014 at 2:59 PM, Matthew Brett > > > > > > wrote: > >> > >> Hi, > >> > >> With Carl Kleffner, I am trying to build a numpy 1.8.1 wheel for > >> Windows

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
Hi, On Mon, Apr 14, 2014 at 12:12 PM, Warren Weckesser wrote: > > On Mon, Apr 14, 2014 at 2:59 PM, Matthew Brett > wrote: >> >> Hi, >> >> With Carl Kleffner, I am trying to build a numpy 1.8.1 wheel for >> Windows 64-bit, and latest stable ATLAS. >> >> It works fine, apart from the following tes

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Warren Weckesser
On Mon, Apr 14, 2014 at 2:59 PM, Matthew Brett wrote: > Hi, > > With Carl Kleffner, I am trying to build a numpy 1.8.1 wheel for > Windows 64-bit, and latest stable ATLAS. > > It works fine, apart from the following test failure: > >

[Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
Hi, With Carl Kleffner, I am trying to build a numpy 1.8.1 wheel for Windows 64-bit, and latest stable ATLAS. It works fine, apart from the following test failure: == FAIL: test_special (test_umath.TestExpm1) ---