Function pow2147483645

Source
pub fn pow2147483645(v: u64) -> u64
Expand description

M31 utility function, used specifically for Stwo. M31 operations are to be relocated into https://github.com/lambdaclass/lambdaworks. Computes the inverse in the M31 field using Fermat’s little theorem, i.e., returns v^(STWO_PRIME-2) modulo STWO_PRIME, which is the inverse of v unless v % STWO_PRIME == 0.