Trait o1vm::interpreters::keccak::helpers::ArithHelpers
source · pub trait ArithHelpers<F: One + Debug + Zero>where
Self: Interpreter<F>,{
// Required method
fn two_pow(x: u64) -> Self::Variable;
// Provided methods
fn zero() -> Self::Variable { ... }
fn one() -> Self::Variable { ... }
fn two() -> Self::Variable { ... }
}
Expand description
This trait contains helper functions for arithmetic operations used in the Keccak circuit