Hacker News new | ask | show | jobs
by dahfizz 1466 days ago
Any other way of representing the real numbers is going to have gotchas. Rational numbers take up more space and are slower to use, but also have real drawbacks like not being able to do sqrt or having to worry about overflow when doing a comparison.

Ultimately, there is no substitute for knowing what you are doing.