mir-algorithm icon indicating copy to clipboard operation
mir-algorithm copied to clipboard

`BigInt`s cannot divide by each other

Open rv32ima opened this issue 4 years ago • 2 comments

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?

rv32ima avatar Nov 26 '21 18:11 rv32ima

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.

9il avatar Nov 27 '21 12:11 9il

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

rv32ima avatar Nov 29 '21 17:11 rv32ima