<div dir="ltr">Hi Sebastian,<div><br></div><div>I think you may be one of the first person to report using cygwin 64. I think it makes sense to support that platform as it is becoming more common.</div><div><br></div><div>Could you report the value of `sys.platform` on cygwin64 ? The first place I would look for cygwin-related FPU issues is there: <a href="https://github.com/numpy/numpy/blob/master/numpy/core/setup.py#L638">https://github.com/numpy/numpy/blob/master/numpy/core/setup.py#L638</a></div><div><br></div><div>David </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 31, 2015 at 9:53 PM, Sebastien Gouezel <span dir="ltr"><<a href="mailto:sebastien.gouezel@univ-rennes1.fr" target="_blank">sebastien.gouezel@univ-rennes1.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
I tried to use numpy (version 1.9.1, installed by `pip install numpy`)<br>
on cygwin64. I encountered the following weird bug:<br>
<br>
 >>> import numpy<br>
 >>> with numpy.errstate(all='raise'):<br>
...    print 1/float64(0.0)<br>
inf<br>
<br>
I was expecting a FloatingPointError, but it didn't show up. Curiously,<br>
with different numerical types (all intxx, or float128), I indeed get<br>
the FloatingPointError.<br>
<br>
Same thing with the most recent git version, or with 1.7.1 provided as a<br>
precompiled package by cygwin. This behavior does not happen on cygwin32<br>
(I always get the FloatingPointError there).<br>
<br>
I wonder if there is something weird with my config, or if this is a<br>
genuine reproducible bug. If so, where should I start looking if I want<br>
to fix it? (I don't know anything about numpy's code)<br>
<br>
Sebastien<br>
<br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</blockquote></div><br></div>