[issue46640] Python can now use the C99 NAN constant
STINNER Victor
report at bugs.python.org
Fri Feb 4 15:30:48 EST 2022
STINNER Victor <vstinner at python.org> added the comment:
The Py_NAN has a special implementation for the ICC compiler, if __INTEL_COMPILER and ICC_NAN_STRICT macros are defined, in bpo-21167:
---
commit edbc28ce81f46d042f9d5ddf9c5bc8cecebc715a
Author: R David Murray <rdmurray at bitdance.com>
Date: Thu Aug 13 09:58:07 2015 -0400
#21167: Fix definition of NAN when ICC used without -fp-model strict.
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
---
I don't know if it should be kept if Py_NAN is modified to use the NAN constant. In case of doubt, I prefer to remove the ICC code since we have no ICC buildbot anymore and maybe ICC changed in the meanwhile.
Also, I don't have acess to ICC.
----------
nosy: +mark.dickinson, r.david.murray
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46640>
_______________________________________
More information about the Python-bugs-list
mailing list