Hacker News new | ask | show | jobs
by teachingassist 1895 days ago
You can likely do better than this within rational numbers by working with integer numerator and denominator; you'll still have to make compromises for irrational numbers.