]> granicus.if.org Git - python/commit
Added a new macro, Py_IS_FINITE(X). On windows there is an intrinsic for this and...
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Thu, 25 May 2006 15:53:30 +0000 (15:53 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Thu, 25 May 2006 15:53:30 +0000 (15:53 +0000)
commitf94323fbb4e83b756b1f328f06a1615d8c366c20
tree0162fcea03d1e3ba5aeec93b1cff612dd19c01d7
parent4b4e33ef14cecd0bc9c6566ea8b402733e7e445f
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
Include/pyport.h
Objects/floatobject.c
PC/pyconfig.h