diff options
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r-- | Doc/library/math.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 9fa1899d40..96e3359c77 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -299,10 +299,7 @@ Constants error-reporting behavior from the platform C implementation. As a result, the specific exceptions raised in error cases (and even whether some arguments are considered to be exceptional at all) are not defined in any - useful cross-platform or cross-release way. For example, whether - ``math.log(0)`` returns ``-Inf`` or raises :exc:`ValueError` or - :exc:`OverflowError` isn't defined, and in cases where ``math.log(0)`` raises - :exc:`OverflowError`, ``math.log(0L)`` may raise :exc:`ValueError` instead. + useful cross-platform or cross-release way. All functions return a quiet *NaN* if at least one of the args is *NaN*. Signaling *NaN*\s raise an exception. The exception type still depends on the |