Skip to content

Commit 424587a

Browse files
Update Doc/library/math.rst
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
1 parent 6a94eb6 commit 424587a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/math.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,8 @@ Constants
874874

875875
The :mod:`math` module consists mostly of thin wrappers around the platform C
876876
math library functions. Behavior in exceptional cases follows Annex F of
877-
the C99 standard, if :attr:`sys.float_info.stdc_iec_559` is true. The current implementation will raise
877+
the C99 standard, if :attr:`sys.float_info.stdc_iec_559` is true.
878+
The current implementation will raise
878879
:exc:`ValueError` for invalid operations like ``sqrt(-1.0)`` or ``log(0.0)``
879880
(where C99 Annex F recommends signaling invalid operation or divide-by-zero),
880881
and :exc:`OverflowError` for results that overflow (for example,

0 commit comments

Comments
 (0)