Function try_bitwise_u128

Source
fn try_bitwise_u128<F: AcirField>(
    lhs: F,
    rhs: F,
    num_bits: u32,
    op: fn(u128, u128) -> u128,
) -> Option<F>
Expand description

Attempt to perform a bitwise operation using native u128 arithmetic. Returns None if num_bits > 128 or either operand doesn’t fit in a u128.