Issue #4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs.
commitfa4d223a44c429ceba2aac61d52e9827179be10a
authormark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 9 Feb 2009 14:18:43 +0000 (9 14:18 +0000)
committermark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 9 Feb 2009 14:18:43 +0000 (9 14:18 +0000)
treea9c7bf3a51d5444b04caa4245c48457437d780e1
parent0a1c1dace12a4ba1ed3b58fea7b1435056f93695
Issue #4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs.
It now forces its argument to double before testing for infinity.

git-svn-id: http://svn.python.org/projects/python/trunk@69459 6015fed2-1504-0410-9fe1-9d1591cc4771
Include/pymath.h
Misc/NEWS
Python/pymath.c