Moving integer division to floating-point is trivial
(news.ycombinator.com)
1.
2.
Floats Don't Agree with Themselves
(news.ycombinator.com)