Function halo2_base::utils::bigint_to_fe
source · [−]pub fn bigint_to_fe<F: BigPrimeField>(e: &BigInt) -> FExpand description
Converts an immutable reference to BigInt to a BigPrimeField.
e: immutable reference to BigInt
Assumptions:
- The absolute value of
eis less than the modulus ofF