mirror of
https://github.com/python/cpython.git
synced 2025-08-14 13:59:20 +00:00
Use consistent spelling for nans (thanks Georg for noticing).
This commit is contained in:
parent
3a1dfa21c2
commit
e07acb5f15
1 changed files with 3 additions and 3 deletions
|
@ -381,9 +381,9 @@ Constants
|
|||
are some exceptions to this rule, for example ``pow(float('nan'), 0.0)`` or
|
||||
``hypot(float('nan'), float('inf'))``.
|
||||
|
||||
Note that Python makes no effort to distinguish signaling nans from
|
||||
quiet nans, and behavior for signaling nans remains unspecified.
|
||||
Typical behavior is to treat all nans as though they were quiet.
|
||||
Note that Python makes no effort to distinguish signaling NaNs from
|
||||
quiet NaNs, and behavior for signaling NaNs remains unspecified.
|
||||
Typical behavior is to treat all NaNs as though they were quiet.
|
||||
|
||||
.. versionchanged:: 2.6
|
||||
Behavior in special cases now aims to follow C99 Annex F. In earlier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue