Skip to content

Conversation

@unseddd
Copy link

@unseddd unseddd commented Jan 22, 2021

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

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

unseddd commented Jan 22, 2021

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

_hidden: (),
}
}
extended_gcd(&self, other)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why doesn't this try to use the binary method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants