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:13:37 +00:00
parent d856ab6171
commit 42dfeec893
1 changed files with 3 additions and 3 deletions

View File

@ -351,9 +351,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.
.. seealso:: .. seealso::