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
hatf0 opened this issue Nov 26, 2021 · 2 comments
Open

BigInts cannot divide by each other #375

hatf0 opened this issue Nov 26, 2021 · 2 comments
Assignees

Comments

@hatf0
Copy link
Member

hatf0 commented Nov 26, 2021

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.

@hatf0
Copy link
Member Author

hatf0 commented Nov 29, 2021

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