Skip to content

Commit 920286d

Browse files
authored
Update NaNs handling description in c-api/float.rst (#141179)
Clarified the behavior of NaNs on IEEE platforms regarding signaling and quiet NaNs.
1 parent ffd6473 commit 920286d

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)