]> granicus.if.org Git - python/commit
Issue #4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs.
authorMark Dickinson <dickinsm@gmail.com>
Mon, 9 Feb 2009 14:18:43 +0000 (14:18 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 9 Feb 2009 14:18:43 +0000 (14:18 +0000)
commitc97c9096ed05c89041b2aab9578489ca634c9375
tree39281e41387e90170eb0370e3ada481ca33f99fd
parentb20af944d27e6277a9afa9f01282673eb89f7cf6
Issue #4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs.
It now forces its argument to double before testing for infinity.
Include/pymath.h
Misc/NEWS
Python/pymath.c