STINNER Victor <vstinner at python.org> added the comment: Using clang -E, I see that clang also replaces NAN with: __builtin_nanf (""). ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue46640> _______________________________________