134
How Python Compares Floats and Ints: When Equals Isn’t Really Equal
(blog.codingconfessions.com)
This is a most excellent place for technology news and articles.
I geuss it's something like : if close enough, set to true.
Now I'll read the article and discover it's like 100x more complex.
Edit : It is indeed at least 100x more complex.
it's not only more complex it also doesn't work like you described at all