Zachary Ware added the comment: Steve Dower added the comment: > fenv_access is not available when compiling with /fp:fast, which is > apparently ICC's default. > > The proposed workaround here changes that default to /fp:strict, which is a > very different model, for all of CPython. I proposed using #pragma > float_control to force /fp:strict locally and enable fenv_access, rather than > changing the entire build to use /fp:strict (even though fenv_access is not > enabled everywhere by default).
Note that I'm not suggesting changing the default for everything to /fp:strict. The goal of the project building Python with ICC on Windows is to change nothing for an MSVC build. The default floating point model should not change without a good reason, and this is not it :) I'll experiment with your suggestions, Steve and Stefan, discuss it with Intel, and get back to you here. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24974> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com