[Python-ideas] checking for identity before comparing built-in objects
Stephen J. Turnbull
stephen at xemacs.org
Wed Oct 10 08:06:10 CEST 2012
Ethan Furman writes:
> Or, to look at it another way, surely somewhere out in the Real World
> (tm) it is the case that two NaNs are indeed equal.
Sure, but according to Kahan's Uncertainty principle, you'll never be
able to detect it.
Really-there's no-alternative-to-backward-compatibility-or-IEEE754-ly y'rs
More information about the Python-ideas
mailing list