Merged revisions 69459 via svnmerge from · pythoncapi/cpython@87ec085 · GitHub
Skip to content

Commit 87ec085

Browse files
committed
Merged revisions 69459 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69459 | mark.dickinson | 2009-02-09 14:18:43 +0000 (Mon, 09 Feb 2009) | 3 lines Issue python#4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs. It now forces its argument to double before testing for infinity. ........
1 parent ae09899 commit 87ec085

3 files changed

Lines changed: 40 additions & 5 deletions

File tree

Include/pymath.h

Lines changed: 24 additions & 5 deletions

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ What's New in Python 3.1 alpha 0
1212
Core and Builtins
1313
-----------------
1414

15+
- Issue #4575: Fix Py_IS_INFINITY macro to work correctly on x87 FPUs:
16+
it now forces its argument to double before testing for infinity.
17+
1518
- Issue #5137: Make len() correctly raise a TypeError when a __len__ method
1619
returns a non-number type.
1720

Python/pymath.c

Lines changed: 13 additions & 0 deletions

0 commit comments

Comments
 (0)