Skip to content

Commit 28493a5

Browse files
[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 920286d) Co-authored-by: W. H. Wang <mattwang44@gmail.com>
1 parent 7c3539b commit 28493a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/float.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ NaNs (if such things exist on the platform) isn't handled correctly, and
113113
attempting to unpack a bytes string containing an IEEE INF or NaN will raise an
114114
exception.
115115
116-
Note that NaNs type may not be preserved on IEEE platforms (silent NaN become
117-
quiet), for example on x86 systems in 32-bit mode.
116+
Note that NaNs type may not be preserved on IEEE platforms (signaling NaN become
117+
quiet NaN), for example on x86 systems in 32-bit mode.
118118
119119
On non-IEEE platforms with more precision, or larger dynamic range, than IEEE
120120
754 supports, not all values can be packed; on non-IEEE platforms with less

0 commit comments

Comments
 (0)