Re: [Numpy-discussion] missing FloatingPointError for numpy on cygwin64

2015-02-02 Thread Sebastien Gouezel
Le 01/02/2015 08:48, David Cournapeau a écrit : The first place I would look for cygwin-related FPU issues is there: https://github.com/numpy/numpy/blob/master/numpy/core/setup.py#L638 The pointer is a good one. Thanks to you, I have found the problem (a wrong numpy-specific fenv.h was

Re: [Numpy-discussion] missing FloatingPointError for numpy on cygwin64

2015-02-01 Thread Sebastien Gouezel
Le 01/02/2015 08:48, David Cournapeau wrote: Could you report the value of `sys.platform` on cygwin64 ? The first place I would look for cygwin-related FPU issues is there: https://github.com/numpy/numpy/blob/master/numpy/core/setup.py#L638 sys.platform is simply cygwin, just as on cygwin32.

[Numpy-discussion] missing FloatingPointError for numpy on cygwin64

2015-01-31 Thread Sebastien Gouezel
Dear all, I tried to use numpy (version 1.9.1, installed by `pip install numpy`) on cygwin64. I encountered the following weird bug: import numpy with numpy.errstate(all='raise'): ...print 1/float64(0.0) inf I was expecting a FloatingPointError, but it didn't show up. Curiously, with