This commit is contained in:
Nicholas Ward 2021-10-26 14:38:18 -07:00
parent 87d8129034
commit bfe201d951

View File

@ -195,20 +195,12 @@ impl<F: RichField + Extendable<D>, const D: usize> CircuitBuilder<F, D> {
(div, rem)
}
pub fn div_biguint(
&mut self,
a: BigUintTarget,
b: BigUintTarget,
) -> BigUintTarget {
pub fn div_biguint(&mut self, a: BigUintTarget, b: BigUintTarget) -> BigUintTarget {
let (div, _rem) = self.div_rem_biguint(a, b);
div
}
pub fn rem_biguint(
&mut self,
a: BigUintTarget,
b: BigUintTarget,
) -> BigUintTarget {
pub fn rem_biguint(&mut self, a: BigUintTarget, b: BigUintTarget) -> BigUintTarget {
let (_div, rem) = self.div_rem_biguint(a, b);
rem
}