]> granicus.if.org Git - python/commitdiff
More NaN consistency doc fixes.
authorMark Dickinson <dickinsm@gmail.com>
Tue, 6 Apr 2010 22:18:23 +0000 (22:18 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 6 Apr 2010 22:18:23 +0000 (22:18 +0000)
Doc/library/math.rst

index 2c6e51ce3fc14bca13fb4dc76f84a7cd81efd7b8..4b3d6d97c8ba5ff07b85426ad39e771c5241bdc0 100644 (file)
@@ -375,9 +375,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'))``.