]> granicus.if.org Git - python/commit
I finally got the time to update and merge Mark's and my trunk-math branch. The patch...
authorChristian Heimes <christian@cheimes.de>
Fri, 18 Apr 2008 23:13:07 +0000 (23:13 +0000)
committerChristian Heimes <christian@cheimes.de>
Fri, 18 Apr 2008 23:13:07 +0000 (23:13 +0000)
commit6f34109384f3a78d5f4f8bdd418a89caca19631e
treef5b446eb4cd2993b6be5a373148530976ce39f4b
parent858a77099e094ce4ef57778d38230ec36db2e805
I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math.

The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
25 files changed:
Doc/library/cmath.rst
Doc/library/math.rst
Include/Python.h
Include/complexobject.h
Include/floatobject.h
Include/pymath.h [new file with mode: 0644]
Include/pyport.h
Lib/test/cmath_testcases.txt [new file with mode: 0644]
Lib/test/ieee754.txt [new file with mode: 0644]
Lib/test/test_cmath.py
Lib/test/test_float.py
Lib/test/test_math.py
Makefile.pre.in
Misc/NEWS
Modules/cmathmodule.c
Modules/mathmodule.c
Objects/complexobject.c
Objects/doubledigits.c [deleted file]
Objects/floatobject.c
Objects/intobject.c
Objects/longobject.c
PC/pyconfig.h
Python/hypot.c [deleted file]
Python/pymath.c [new file with mode: 0644]
configure