[issue21167] float('nan') returns 0.0 on Python compiled with icc

Stefan Krah report at bugs.python.org
Mon Apr 7 14:24:29 CEST 2014


Stefan Krah added the comment:

I agree we should add "-fp-model strict" to the icc build flags, provided that
there is a way that it does not show up in the distutils flags.

Apparently icc users want unsafe fast math by default, so this flag should
probably not be enforced in extension module builds.

----------

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


More information about the Python-bugs-list mailing list