What the fuck. That's amazing!
[1] https://en.wikipedia.org/wiki/Montgomery_modular_multiplicat...
https://en.wikipedia.org/wiki/Fixed-point_arithmetic
[1] https://en.wikipedia.org/wiki/Montgomery_modular_multiplicat...