commit | f94323fbb4e83b756b1f328f06a1615d8c366c20 | [log] [tgz] |
---|---|---|
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | Thu May 25 15:53:30 2006 +0000 |
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | Thu May 25 15:53:30 2006 +0000 |
tree | 0162fcea03d1e3ba5aeec93b1cff612dd19c01d7 | |
parent | 4b4e33ef14cecd0bc9c6566ea8b402733e7e445f [diff] |
Added a new macro, Py_IS_FINITE(X). On windows there is an intrinsic for this and it is more efficient than to use !Py_IS_INFINITE(X) && !Py_IS_NAN(X). No change on other platforms