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
bytearrayobject.c.h -rw-r--r-- 31.8 KB
bytesobject.c.h -rw-r--r-- 25.6 KB
codeobject.c.h -rw-r--r-- 15.7 KB
complexobject.c.h -rw-r--r-- 3.5 KB
descrobject.c.h -rw-r--r-- 3.3 KB
dictobject.c.h -rw-r--r-- 5.0 KB
enumobject.c.h -rw-r--r-- 2.2 KB
floatobject.c.h -rw-r--r-- 10.1 KB
funcobject.c.h -rw-r--r-- 2.3 KB
listobject.c.h -rw-r--r-- 8.8 KB
longobject.c.h -rw-r--r-- 11.0 KB
memoryobject.c.h -rw-r--r-- 7.7 KB
moduleobject.c.h -rw-r--r-- 1.5 KB
odictobject.c.h -rw-r--r-- 6.6 KB
structseq.c.h -rw-r--r-- 1.1 KB
tupleobject.c.h -rw-r--r-- 2.9 KB
typeobject.c.h -rw-r--r-- 5.9 KB
unicodeobject.c.h -rw-r--r-- 36.9 KB

back to top