@@ -96,19 +96,11 @@ Same affects addition (or subtraction):
9696
9797 Simplistic approach for complex arithmetic is underlying reason for numerous
9898and reccuring issues in the CPython bugtracker (here is an incomplete list:
99- `#61538 <https://github.com/python/cpython/issues/61538 >`_,
100- `#66738 <https://github.com/python/cpython/issues/66738 >`_,
101- `#67418 <https://github.com/python/cpython/issues/67418 >`_,
102- `#69639 <https://github.com/python/cpython/issues/69639 >`_,
103- `#70026 <https://github.com/python/cpython/issues/70026 >`_,
104- `#71550 <https://github.com/python/cpython/issues/71550 >`_,
105- `#84450 <https://github.com/python/cpython/issues/84450 >`_,
106- `#85657 <https://github.com/python/cpython/issues/85657 >`_,
107- `#105027 <https://github.com/python/cpython/issues/105027 >`_,
108- `#107854 <https://github.com/python/cpython/issues/107854 >`_,
109- `#112176 <https://github.com/python/cpython/issues/112176 >`_,
110- `#122615 <https://github.com/python/cpython/issues/122615 >`_)
111- and mathematical libraries in the Python ecosystem (e.g. `numpy/numpy#26310
99+ :cpython-issue: `61538 `, :cpython-issue: `66738 `, :cpython-issue: `67418 `,
100+ :cpython-issue: `69639 `, :cpython-issue: `70026 `, :cpython-issue: `71550 `,
101+ :cpython-issue: `84450 `, :cpython-issue: `85657 `, :cpython-issue: `105027 `,
102+ :cpython-issue: `107854 `, :cpython-issue: `112176 `, :cpython-issue: `122615 `) and
103+ mathematical libraries in the Python ecosystem (e.g. `numpy/numpy#26310
112104<https://github.com/numpy/numpy/issues/26310> `_ or `mpmath/mpmath#774
113105<https://github.com/mpmath/mpmath/issues/774#issuecomment-2034375377> `_).
114106Among others, broken ``repr(eval(repr(x))) == repr(x) `` invariant for complex
@@ -165,10 +157,9 @@ complex and real numbers costs only two real multiplications, not four).
165157Though it's more important, that in the IEC floating-point arithmetic results
166158here are uniquely determined by usual mathematical formulae.
167159
168- For a first step, `PR#124829 <https://github.com/python/cpython/pull/124829 >`__
169- added in the CPython 3.14 mixed-mode rules for complex arithmetic, combining
170- real and complex operands. So, examples like :eq: `ex-mul1 ` or :eq: `ex-add1 `
171- now are working correctly:
160+ For a first step, :cpython-pr: `124829 ` added in the CPython 3.14 mixed-mode
161+ rules for complex arithmetic, combining real and complex operands. So,
162+ examples like :eq: `ex-mul1 ` or :eq: `ex-add1 ` now are working correctly:
172163
173164.. code :: pycon
174165
0 commit comments