summaryrefslogtreecommitdiffstats
path: root/Python/pymath.c
Commit message (Collapse)AuthorAgeFilesLines
* Untabify C files. Will watch buildbots.Antoine Pitrou2010-05-091-24/+24
|
* Issue #7518: Move substitute definitions of C99 math functions fromMark Dickinson2009-12-211-199/+0
| | | | pymath.c to Modules/_math.c.
* Issue #7117 (backport py3k float repr) continued:Mark Dickinson2009-10-241-0/+18
| | | | | | | | | - add double endianness detection to configure script - add configure-time check to see whether we can use inline assembly to get and set x87 control word in configure script - add functions to get and set x87 control word in Python/pymath.c - add pyport.h logic to determine whether it's safe to use the short float repr or not
* Backport r71704 (add configure check for C99 round function) to trunk.Mark Dickinson2009-04-181-0/+13
|
* copysign shouldn't be declared as static in pymath.cMark Dickinson2009-04-181-1/+1
|
* Issue #4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs.Mark Dickinson2009-02-091-0/+13
| | | | It now forces its argument to double before testing for infinity.
* any platform without HAVE_LOG1P should have DBL_EPSILON in <float.h>Andrew MacIntyre2008-09-221-0/+2
| | | | | Part of source_os2emx.patch in issue 3868 Reviewed by Amaury Forgeot d'Arc
* I finally got the time to update and merge Mark's and my trunk-math branch. ↵Christian Heimes2008-04-181-0/+232
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 :)