Trait o1_utils::foreign_field::ForeignFieldHelpers
source · pub trait ForeignFieldHelpers<F, const B: usize> {
// Required methods
fn two_to_limb() -> F;
fn two_to_2limb() -> F;
fn two_to_3limb() -> F;
}
Expand description
Foreign field helpers for B
the limb size.
Required Methods§
sourcefn two_to_limb() -> F
fn two_to_limb() -> F
2^{B}
sourcefn two_to_2limb() -> F
fn two_to_2limb() -> F
2^{2 * B}
sourcefn two_to_3limb() -> F
fn two_to_3limb() -> F
2^{3 * B}