Message249490
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. |
|
Date |
User |
Action |
Args |
2015-09-01 16:34:40 | zach.ware | set | recipients:
+ zach.ware, rhettinger, paul.moore, mark.dickinson, tim.golden, r.david.murray, skrah, steve.dower, christopher.hogan |
2015-09-01 16:34:40 | zach.ware | link | issue24974 messages |
2015-09-01 16:34:40 | zach.ware | create | |
|