@@ -38,7 +38,10 @@ subsection of the documentation return a float, but the
3838documentation doesn't say so. In the documentation for the proposed ``imath `` module the sentence "All
3939return values are integers." would be accurate. In a similar way we
4040can simplify the description of the accepted arguments for functions in both the
41- :external+py3.14:mod: `math ` and the new module.
41+ new module and the :external+py3.14:mod: `math `.
42+ Which content, as in beginning, will be again related to work with "just
43+ numbers" --- that for most people with basic education means some model of real
44+ numbers).
4245
4346Apparently, the :external+py3.14:mod: `math ` module can't serve as a catch-all place
4447for mathematical functions since we also have the :external+py3.14:mod: `cmath ` and
@@ -52,6 +55,14 @@ Currently the :external+py3.14:mod:`math` module code in the CPython is around
5255comparable with the :external+py3.14:mod: `cmath ` (1340LOC), which is *not * a
5356simple wrapper to the ``libm ``, as most functions in the
5457:external+py3.14:mod: `math ` module.
58+ And this situation tends to be worse. When the module split `was first
59+ proposed
60+ <https://mail.python.org/archives/list/python-ideas@python.org/thread/YYJ5YJBJNCVXQWK5K3WSVNMPUSV56LOR/> `_
61+ there were only two integer-related functions:
62+ :external+py3.14:func: `~math.factorial ` and :external+py3.14:func: `~math.gcd `.
63+ Now there are six, :external+py3.14:func: `~math.factorial ` doesn't accept
64+ :class: `float `'s anymore and :external+py3.14:func: `~math.gcd ` changed it's
65+ signature.
5566
5667
5768Rationale
0 commit comments