sqrt method
Implementation
@override
FieldSqrtResult<JubJubNativeFq> sqrt() {
return PastaUtils.sqrtTonelliShanks(
f: this,
fPowTm1d2: pow(
BigInt.parse(
"6104339283789297388802252303364915521546564123189034618274734669823",
),
),
rootOfUnity: JubJubNativeFq.rootOfUnity(),
one: JubJubNativeFq.one(),
conditionalSelect: (a, b, choice) {
return choice ? b : a;
},
);
}