sqrtAlt static method

Implementation

static FieldSqrtResult<PallasNativeFp> sqrtAlt(PallasNativeFp e) {
  return PastaUtils.sqrtTonelliShanks(
    f: e,
    fPowTm1d2: e.powByTMinus1Over2(),
    one: _one,
    rootOfUnity: PallasNativeFp.rootOfUnity(),
    s: 32,
    conditionalSelect: (a, b, choice) => choice ? b : a,
  );
}