pub fn assign<F: ScalarField>(
gate: &impl GateInstructions<F>,
ctx: &mut Context<F>,
a: OverflowInteger<F>,
b: OverflowInteger<F>,
c_f: F,
c_log2_ceil: usize
) -> OverflowInteger<F>Expand description
compute a * c + b = b + a * c
Assumptions
a, bhave same number of limbs- Number of limbs is nonzero
c_log2_ceil = log2_ceil(c)wherecis the BigUint value ofc_f