[issue24974] ICC on Windows 8.1: _decimal fails to compile with default fp model

Steve Dower report at bugs.python.org
Tue Sep 1 18:27:37 CEST 2015


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).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24974>
_______________________________________


More information about the Python-bugs-list mailing list