2 ms·
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
by opisthenar84 5y ago
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.
- eru 5y agoPython supports rational numbers just fine, too.