| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
pymath.c to Modules/_math.c.
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
|
|
|
| |
It now forces its argument to double before testing for infinity.
|
|
|
|
|
| |
Part of source_os2emx.patch in issue 3868
Reviewed by Amaury Forgeot d'Arc
|
|
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 :)
|