https://github.com/python/cpython
Revision fa26245a1c1aa938cce391348d6bd879da357522 authored by Christian Heimes on 25 October 2021, 08:25:27 UTC, committed by GitHub on 25 October 2021, 08:25:27 UTC


The :mod:`math` and :mod:`cmath` implementation now require a C99 compatible
``libm`` and no longer ship with workarounds for missing acosh, asinh,
expm1, and log1p functions.

The changeset also removes ``_math.c`` and moves the last remaining
workaround into ``_math.h``. This simplifies static builds with
``Modules/Setup`` and resolves symbol conflicts.

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
Co-authored-by: Brett Cannon <brett@python.org>
Signed-off-by: Christian Heimes <christian@python.org>
1 parent 51ed2c5
History
Tip revision: fa26245a1c1aa938cce391348d6bd879da357522 authored by Christian Heimes on 25 October 2021, 08:25:27 UTC
bpo-45548: Remove _math.c workarounds for pre-C99 libm (GH-29179)
Tip revision: fa26245
File Mode Size
windows-release
ci.yml -rw-r--r-- 2.6 KB
docs-steps.yml -rw-r--r-- 1.3 KB
macos-steps.yml -rw-r--r-- 768 bytes
posix-deps-apt.sh -rwxr-xr-x 590 bytes
posix-steps.yml -rw-r--r-- 2.6 KB
pr.yml -rw-r--r-- 2.6 KB
prebuild-checks.yml -rw-r--r-- 1.2 KB
windows-layout-steps.yml -rw-r--r-- 1.5 KB
windows-release.yml -rw-r--r-- 3.9 KB
windows-steps.yml -rw-r--r-- 1.5 KB

back to top