Martin Panter
6507657ddd
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00:00
R David Murray
9168d069bf
#21167 : Fix definition of NAN when ICC used without -fp-model strict.
...
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
2015-08-13 09:48:35 -04:00
Mark Dickinson
12748b003c
Issue #7518 : Move substitute definitions of C99 math functions from
...
pymath.c to Modules/_math.c.
2009-12-21 15:22:00 +00:00
Mark Dickinson
1d6e2e1833
Issue #7117 (backport py3k float repr) continued:
...
- 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
2009-10-24 13:28:38 +00:00
Mark Dickinson
1dcc38456f
Remove unused stdint.h includes
2009-06-28 22:37:13 +00:00
Mark Dickinson
8e5446f902
Backport r71704 (add configure check for C99 round function) to trunk.
2009-04-18 14:41:37 +00:00
Mark Dickinson
c97c9096ed
Issue #4575 : fix Py_IS_INFINITY macro to work correctly on x87 FPUs.
...
It now forces its argument to double before testing for infinity.
2009-02-09 14:18:43 +00:00
Mark Dickinson
1bf6401ab2
Use C99 'isfinite' macro in preference to BSD-derived 'finite' function.
2009-01-04 19:53:00 +00:00
Mark Dickinson
0ebfedf38e
Fix HAVE_DECL_ISINF/ISNAN test (again).
2009-01-04 17:02:05 +00:00
Mark Dickinson
41fbae1ac9
Oops. Need to check not only that HAVE_DECL_ISINF is defined, but also
...
that it's equal to 1. (If isinf isn't defined, HAVE_DECL_ISINF is
defined to be 0, rather than being undefined.)
2009-01-04 16:06:40 +00:00
Mark Dickinson
d181e3a246
isinf and isnan are macros, not functions; fix configure script
...
to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these.
(See discussion in issue #4506 )
2009-01-04 13:57:26 +00:00
Benjamin Peterson
6b094a4258
fix a little typo
2008-08-19 19:27:53 +00:00
Christian Heimes
6f34109384
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 :)
2008-04-18 23:13:07 +00:00