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