Skip to content

Commit

Permalink
Use consistent spelling for nans (thanks Georg for noticing).
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickinson committed Apr 6, 2010
1 parent 3a1dfa2 commit e07acb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/library/math.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e07acb5

Please sign in to comment.