Merged revisions 79871 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79871 | mark.dickinson | 2010-04-06 23:10:55 +0100 (Tue, 06 Apr 2010) | 2 lines

  Use consistent spelling for nans (thanks Georg for noticing).
........
This commit is contained in:
Mark Dickinson 2010-04-06 22:11:54 +00:00
parent 8a48808f33
commit 8008038afd
1 changed files with 3 additions and 3 deletions

View File

@ -333,9 +333,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