Skip to content
Prev Previous commit
Next Next commit
Add news entry
  • Loading branch information
mdickinson committed May 8, 2023
commit efd67bc7bfb194c672190f7d755087f9b3ce3456
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Fix ``float("nan")`` to produce a quiet NaN on platforms (like MIPS) where
the meaning of the signalling / quiet bit is inverted from its usual
meaning. Also introduce a new macro ``Py_INFINITY`` matching C99's
``INFINITY``, and refactor internals to rely on C99's ``NAN`` and
``INFINITY`` macros instead of hard-coding bit patterns for infinities and
NaNs.