Trait FullOps
pub trait FullOps: Sized
Arithmetic operations required by bignums.
Required Methods
fn full_mul_add(self, other: Self, other2: Self, carry: Self) -> (Self, Self)Returns
(carry', v')such thatcarry' * 2^W + v' = self * other + other2 + carry, whereWis the number of bits inSelf.fn full_div_rem(self, other: Self, borrow: Self) -> (Self, Self)Returns
(quo, rem)such thatborrow * 2^W + self = quo * other + remand0 <= rem < other, whereWis the number of bits inSelf.