commit | e1c69b3f6ff1f86fe5e94a41a877aa08541b62f0 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Thu Sep 23 19:22:41 2004 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Thu Sep 23 19:22:41 2004 +0000 |
tree | 25370a9e2bbe09d0b750d147c3d4a270a7acb2d5 | |
parent | 862f0593d8e8c7cd510b598296c73b25168d0472 [diff] |
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.