mirror of
https://github.com/python/cpython.git
synced 2025-09-15 13:16:12 +00:00
Issue #7518: Move substitute definitions of C99 math functions from
pymath.c to Modules/_math.c.
This commit is contained in:
parent
08dca0d6da
commit
12748b003c
8 changed files with 250 additions and 231 deletions
4
setup.py
4
setup.py
|
@ -410,9 +410,9 @@ class PyBuildExt(build_ext):
|
|||
# array objects
|
||||
exts.append( Extension('array', ['arraymodule.c']) )
|
||||
# complex math library functions
|
||||
exts.append( Extension('cmath', ['cmathmodule.c'],
|
||||
exts.append( Extension('cmath', ['cmathmodule.c', '_math.c'],
|
||||
depends=['_math.h'],
|
||||
libraries=math_libs) )
|
||||
|
||||
# math library functions, e.g. sin()
|
||||
exts.append( Extension('math', ['mathmodule.c', '_math.c'],
|
||||
depends=['_math.h'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue