Use consistent spelling for nans (thanks Georg for noticing).

This commit is contained in:
Mark Dickinson 2010-04-06 22:10:55 +00:00
parent 3a1dfa21c2
commit e07acb5f15
1 changed files with 3 additions and 3 deletions

View File

@ -381,9 +381,9 @@ Constants
are some exceptions to this rule, for example ``pow(float('nan'), 0.0)`` or are some exceptions to this rule, for example ``pow(float('nan'), 0.0)`` or
``hypot(float('nan'), float('inf'))``. ``hypot(float('nan'), float('inf'))``.
Note that Python makes no effort to distinguish signaling nans from Note that Python makes no effort to distinguish signaling NaNs from
quiet nans, and behavior for signaling nans remains unspecified. quiet NaNs, and behavior for signaling NaNs remains unspecified.
Typical behavior is to treat all nans as though they were quiet. Typical behavior is to treat all NaNs as though they were quiet.
.. versionchanged:: 2.6 .. versionchanged:: 2.6
Behavior in special cases now aims to follow C99 Annex F. In earlier Behavior in special cases now aims to follow C99 Annex F. In earlier