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

Hrvoje Nikšić report at bugs.python.org
Mon Apr 7 13:27:50 CEST 2014


Hrvoje Nikšić added the comment:

The compilation was performed with the default flags, i.e. without -fp-model strict or similar.

If Python requires strict IEEE 754 floating-point, it should probably be mentioned at a prominent place in the documentation. Administrators building Python with alternative compilers or on non-gcc Unix systems might not be aware of the issue.

----------

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


More information about the Python-bugs-list mailing list