brillig_vm::arithmetic

Function evaluate_binary_int_op

Source
pub(crate) fn evaluate_binary_int_op<F: AcirField>(
    op: &BinaryIntOp,
    lhs: MemoryValue<F>,
    rhs: MemoryValue<F>,
    bit_size: IntegerBitSize,
) -> Result<MemoryValue<F>, BrilligArithmeticError>
Expand description

Evaluate a binary operation on two unsigned big integers with a given bit size.