pub fn qm31_packed_reduced_neg(felt: Felt252) -> Result<Felt252, MathError>
Expand description
QM31 utility function, used specifically for Stwo. QM31 operations are to be relocated into https://github.com/lambdaclass/lambdaworks. Computes the negative of a QM31 element in reduced form. Returns an error if the input is not reduced.