snark_verifier::util::arithmetic

Function fe_to_limbs

Source
pub fn fe_to_limbs<F1: PrimeField, F2: PrimeField, const LIMBS: usize, const BITS: usize>(
    fe: F1,
) -> [F2; LIMBS]
Expand description

Convert a PrimeField into LIMBS limbs where each limb contains at most BITS.