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§

source

fn two_to_limb() -> F

2^{B}

source

fn two_to_2limb() -> F

2^{2 * B}

source

fn two_to_3limb() -> F

2^{3 * B}

Implementors§

source§

impl<F: Field, const B: usize, const N: usize> ForeignFieldHelpers<F, B> for ForeignElement<F, B, N>