fn choose_sign_fp2(mut fp2: FP2, greater: Ordering) -> FP2 {
    let mut minus_fp2 = neg_fp2(&fp2);
    if cmp_fp2(&mut fp2, &mut minus_fp2) == greater {
        fp2
    } else {
        minus_fp2
    }
}
/// Return y or -y depending on whether the greater is wanted.
Return y or -y depending on whether the greater is wanted.
Return y or - y depending on whether the greater is wanted .
fn choose_sign_fp2(mut fp2: FP2, greater: Ordering) -> FP2 {
    let mut minus_fp2 = neg_fp2(&fp2);
    if cmp_fp2(&mut fp2, &mut minus_fp2) == greater {
        fp2
    } else {
        minus_fp2
    }
}
fn choose_sign_fp2 ( mut fp2 : FP2 , greater : Ordering ) -> FP2 { let mut minus_fp2 = neg_fp2 ( & fp2 ) ; if cmp_fp2 ( & mut fp2 , & mut minus_fp2 ) == greater { fp2 } else { minus_fp2 } }
Return y or -y depending on whether the greater is wanted.
Return y or - y depending on whether the greater is wanted .
fp2
FP2
greater
Ordering
fp2
FP2
greater
Ordering