pub fn assign<F: ScalarField>(
gate: &impl GateInstructions<F>,
ctx: &mut Context<F>,
a: impl Into<ProperUint<F>>,
b: impl Into<ProperUint<F>>,
) -> AssignedValue<F>
Expand description
Given ProperUint
s a
and b
with the same number of limbs,
returns whether a == b
.
ยงAssumptions:
a, b
have the same number of limbs.- The number of limbs is nonzero.