News for hackers. Stuff that matters.
Re:A Foray into Go Assembly Programming by chris_overseas on Monday April 24, 2017 @04:32AM (#14182738)
In more general terms, take a look at Montgomery multiplication[1] which is where this trick originates. It's a common technique used by compilers to optimise away divisions.

[1] https://en.wikipedia.org/wiki/Montgomery_modular_multiplicat...

There are no comments on this comment yet.