summaryrefslogtreecommitdiffstats
path: root/Include/pymath.h
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7518: Move substitute definitions of C99 math functions fromMark Dickinson2009-12-211-19/+3
| | | | pymath.c to Modules/_math.c.
* Issue #7117 (backport py3k float repr) continued:Mark Dickinson2009-10-241-0/+5
| | | | | | | | | - 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
* Remove unused stdint.h includesMark Dickinson2009-06-281-4/+0
|
* Backport r71704 (add configure check for C99 round function) to trunk.Mark Dickinson2009-04-181-0/+4
|
* Issue #4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs.Mark Dickinson2009-02-091-5/+24
| | | | It now forces its argument to double before testing for infinity.
* Use C99 'isfinite' macro in preference to BSD-derived 'finite' function.Mark Dickinson2009-01-041-1/+3
|
* Fix HAVE_DECL_ISINF/ISNAN test (again).Mark Dickinson2009-01-041-2/+2
|
* Oops. Need to check not only that HAVE_DECL_ISINF is defined, but alsoMark Dickinson2009-01-041-2/+2
| | | | | that it's equal to 1. (If isinf isn't defined, HAVE_DECL_ISINF is defined to be 0, rather than being undefined.)
* isinf and isnan are macros, not functions; fix configure scriptMark Dickinson2009-01-041-2/+2
| | | | | to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these. (See discussion in issue #4506)
* fix a little typoBenjamin Peterson2008-08-191-1/+1
|
* I finally got the time to update and merge Mark's and my trunk-math branch. ↵Christian Heimes2008-04-181-0/+182
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 :)