https://github.com/python/cpython/commit/28493a5a6262c66f69114f4a71528007ad9338be
commit: 28493a5a6262c66f69114f4a71528007ad9338be
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: vstinner <[email protected]>
date: 2025-11-07T13:40:59Z
summary:

[3.14] Update NaNs handling description in `c-api/float.rst` (GH-141179) 
(#141194)

Update NaNs handling description in `c-api/float.rst` (GH-141179)

Clarified the behavior of NaNs on IEEE platforms regarding signaling and quiet 
NaNs.
(cherry picked from commit 920286d6b296f9971fc79e14ec22966f8f7a7b90)

Co-authored-by: W. H. Wang <[email protected]>

files:
M Doc/c-api/float.rst

diff --git a/Doc/c-api/float.rst b/Doc/c-api/float.rst
index 1085c32a537071..edee498a0b80f3 100644
--- a/Doc/c-api/float.rst
+++ b/Doc/c-api/float.rst
@@ -113,8 +113,8 @@ NaNs (if such things exist on the platform) isn't handled 
correctly, and
 attempting to unpack a bytes string containing an IEEE INF or NaN will raise an
 exception.
 
-Note that NaNs type may not be preserved on IEEE platforms (silent NaN become
-quiet), for example on x86 systems in 32-bit mode.
+Note that NaNs type may not be preserved on IEEE platforms (signaling NaN 
become
+quiet NaN), for example on x86 systems in 32-bit mode.
 
 On non-IEEE platforms with more precision, or larger dynamic range, than IEEE
 754 supports, not all values can be packed; on non-IEEE platforms with less

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to