]> granicus.if.org Git - python/commit
float_richcompare(): Use the new Py_IS_NAN macro to ensure that, on
authorTim Peters <tim.peters@gmail.com>
Thu, 23 Sep 2004 19:22:41 +0000 (19:22 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 23 Sep 2004 19:22:41 +0000 (19:22 +0000)
commite1c69b3f6ff1f86fe5e94a41a877aa08541b62f0
tree25370a9e2bbe09d0b750d147c3d4a270a7acb2d5
parent862f0593d8e8c7cd510b598296c73b25168d0472
float_richcompare():  Use the new Py_IS_NAN macro to ensure that, on
platforms where that macro works, NaN compared to an int or long works
the same as NaN compared to a finite float.
Objects/floatobject.c