]> granicus.if.org Git - python/commitdiff
Merged revisions 79875 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Mon, 12 Apr 2010 18:43:56 +0000 (18:43 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 12 Apr 2010 18:43:56 +0000 (18:43 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79875 | mark.dickinson | 2010-04-06 23:18:23 +0100 (Tue, 06 Apr 2010) | 1 line

  More NaN consistency doc fixes.
........

Doc/library/math.rst

index 38b22293f99991d7c58add3b7d1c581a7cec0c62..c85862a866aefc797ba858e502da66e9c5e3a07c 100644 (file)
@@ -327,9 +327,9 @@ Constants
    :exc:`ValueError` for invalid operations like ``sqrt(-1.0)`` or ``log(0.0)``
    (where C99 Annex F recommends signaling invalid operation or divide-by-zero),
    and :exc:`OverflowError` for results that overflow (for example,
-   ``exp(1000.0)``).  A *NaN* will not be returned from any of the functions
-   above unless one or more of the input arguments was a *NaN*; in that case,
-   most functions will return a *NaN*, but (again following C99 Annex F) there
+   ``exp(1000.0)``).  A NaN will not be returned from any of the functions
+   above unless one or more of the input arguments was a NaN; in that case,
+   most functions will return a NaN, but (again following C99 Annex F) there
    are some exceptions to this rule, for example ``pow(float('nan'), 0.0)`` or
    ``hypot(float('nan'), float('inf'))``.