Re:How to compare floats in Python
by opisthenar84 on Wednesday March 30, 2022 @07:59PM
(#30862289)
This is a good introductory article, but I would not recommend it for more advanced use cases. Just because two numbers are "close" does not mean that they are "equal". If truly precise floating point math is needed, symbolic representations are a much better way to do things.
[ Parent
| on HN ]