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

Mark Dickinson report at bugs.python.org
Mon Apr 7 13:30:51 CEST 2014


Mark Dickinson added the comment:

> I tagged the issue as likely also present in 3.x.

So I believe that this particular issue (float('nan') giving zero) should not be present on Python 3.4 or above.  The bogus definition of Py_NAN will still cause problems in some math and cmath return values, though.

----------

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


More information about the Python-bugs-list mailing list