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

Chris Hogan report at bugs.python.org
Wed Aug 12 20:12:32 CEST 2015


Chris Hogan added the comment:

>From Clark Nelson:

> In my opinion, exactly how and where the macro is defined that indicates our conformance to the FP standard
> doesn't really matter. The point is that it is our intention to conform, at least to some degree and under 
> some circumstances.
>
> Under those circumstances, it would be wrong to map (0 * x) to 0 without regard to what x might be.
>
> Clark

----------

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


More information about the Python-bugs-list mailing list