Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigInts cannot divide by each other #375

Open
ellie-idb opened this issue Nov 26, 2021 · 2 comments
Open

BigInts cannot divide by each other #375

ellie-idb opened this issue Nov 26, 2021 · 2 comments
Assignees

Comments

@ellie-idb
Copy link
Member

ATM, there is no way for me to implement #373 as I require some way to divide a BigInt by another BigInt. @9il, could you implement this?

@9il
Copy link
Member

9il commented Nov 27, 2021

Should be implemented as /=. It is the main part of #373. D. Knut described a good algorithm for that, you can use it or binary shifts for simplicity.

@ellie-idb
Copy link
Member Author

OK. I need to do some more research on this (I found the algorithm you're talking about, though).

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

No branches or pull requests

2 participants