num-integer icon indicating copy to clipboard operation
num-integer copied to clipboard

Add optimized binary extended gcd algorithm

Open unseddd opened this issue 4 years ago • 1 comments

Optimized to use cheap shifts and adds rather than multiplications and divisions for finding the greated common divisor and Bezout coefficients.

unseddd avatar Jan 22 '21 20:01 unseddd

Much appreciation to @cuviper for their help/discussion about the impl on Zulip.

unseddd avatar Jan 22 '21 20:01 unseddd