mirror of https://github.com/python/cpython
Added cmath module
This commit is contained in:
parent
d390325bbb
commit
4fbb6d9a15
|
@ -32,6 +32,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
extern void initarray();
|
extern void initarray();
|
||||||
extern void initmath();
|
extern void initmath();
|
||||||
|
#ifndef WITHOUT_COMPLEX
|
||||||
|
extern void initcmath();
|
||||||
|
#endif
|
||||||
extern void initparser();
|
extern void initparser();
|
||||||
extern void initmac();
|
extern void initmac();
|
||||||
extern void MacOS_Init();
|
extern void MacOS_Init();
|
||||||
|
@ -133,6 +136,9 @@ struct {
|
||||||
#ifndef SYMANTEC__CFM68K__
|
#ifndef SYMANTEC__CFM68K__
|
||||||
/* The math library seems mostly broken... */
|
/* The math library seems mostly broken... */
|
||||||
{"math", initmath},
|
{"math", initmath},
|
||||||
|
#endif
|
||||||
|
#ifndef WITHOUT_COMPLEX
|
||||||
|
{"cmath", initcmath},
|
||||||
#endif
|
#endif
|
||||||
{"parser", initparser},
|
{"parser", initparser},
|
||||||
{"mac", initmac},
|
{"mac", initmac},
|
||||||
|
|
Loading…
Reference in New Issue