Trait snarkvm_wasm::ThreeBitCondNegLookupGadget[][src]

pub trait ThreeBitCondNegLookupGadget<F> where
    F: Field
{ type TableConstant; fn three_bit_cond_neg_lookup<CS>(
        cs: CS,
        bits: &[Boolean],
        b0b1: &Boolean,
        constants: &[Self::TableConstant]
    ) -> Result<Self, SynthesisError>
    where
        CS: ConstraintSystem<F>
;
fn cost() -> usize; }
Expand description

Uses three bits to perform a lookup into a table, where the last bit performs negation

Associated Types

Required methods

Implementors