[issue25934] ICC compiler: ICC treats denormal floating point numbers as 0.0

Zachary Ware report at bugs.python.org
Sat Jan 23 00:44:35 EST 2016


Zachary Ware added the comment:

Here's a patch that specifies /fp:strict if it looks like ICC is being used for the build.  It also adds a convenient property for checking whether it's an ICC build ($(ICCBuild)).  This doesn't change anything for MSVC builds but allows ICC builds to pass test_math, test_cmath, test_audioop, etc.; as such, it should be applied to all three branches.

As far as replacing the non-constants that MSVC doesn't like, I'm +1 but not too bothered about it.  I'm happy to test if anyone supplies a patch for it.

----------
keywords: +patch
versions: +Python 2.7
Added file: http://bugs.python.org/file41696/issue25934.diff

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


More information about the Python-bugs-list mailing list