Skip to content

Commit ecbb8fd

Browse files
skirpichevpicnixz
andauthored
Update Doc/library/cmath.rst
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent e462a53 commit ecbb8fd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/library/cmath.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ the function is then applied to the result of the conversion.
3838
1.4142135623730951j
3939

4040

41-
Most functions compute and return the C99 Annex G recommended result. If the
42-
standard recommends raising ``FE_DIVBYZERO`` or ``FE_INVALID`` floating-point
43-
exceptions --- a :exc:`ValueError` is raised and the recommended result is
44-
available as the ``value`` attribute of the exception object. If range error
45-
occurs due to overflow in any component of the result --- a :exc:`OverflowError`
46-
is raised.
41+
Most functions compute and return the C99 Annex G recommended result.
42+
If the standard recommends raising ``FE_DIVBYZERO`` or ``FE_INVALID``
43+
floating-point exceptions, a :exc:`ValueError` is raised and the recommended
44+
result is available as the ``value`` attribute of the exception object.
45+
If a range error occurs due to an overflow in any component of the result,
46+
an :exc:`OverflowError` is raised.
4747

4848

4949
==================================================== ============================================

0 commit comments

Comments
 (0)