arkworks-rs / algebra

Libraries for finite field, elliptic curve, and polynomial arithmetic
https://arkworks.rs
Apache License 2.0
581 stars 230 forks source link

Implement integer division for `BigInteger` #762

Open hdvanegasm opened 6 months ago

hdvanegasm commented 6 months ago

I propose implementing the integer division operator (/) for BigInteger. This issue can be quickly closed once the PR https://github.com/arkworks-rs/algebra/pull/761 is merged because we can directly leverage div_with_rem() to compute the quotient.

tcoratger commented 5 months ago

Duplicate of https://github.com/arkworks-rs/algebra/issues/645 no?