mirror of https://github.com/python/cpython
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:
parent
8a48808f33
commit
8008038afd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue