cpython/Misc/NEWS.d/next/C_API/2025-11-06-06-28-14.gh-issue-141042.brOioJ.rst

3 lines
219 B
ReStructuredText

Make qNaN in :c:func:`PyFloat_Pack2` and :c:func:`PyFloat_Pack4`, if while
conversion to a narrower precision floating-point format --- the remaining
after truncation payload will be zero. Patch by Sergey B Kirpichev.