[issue21167] float('nan') returns 0.0 on Python compiled with icc
Hrvoje Nikšić
report at bugs.python.org
Mon Apr 7 13:40:31 CEST 2014
Hrvoje Nikšić added the comment:
Mark:
> > If Python requires strict IEEE 754 floating-point,
>
> It doesn't (at the moment).
Does this imply that my patch is a better fix than requiring the builder to specify -fp-model strict to icc?
For our use case either solution is valid. For administrators and users testing or using Python with icc, it might be more convenient for Py_NAN to do the right thing with the default icc flags.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21167>
_______________________________________
More information about the Python-bugs-list
mailing list