Trait ModIntBaseExt
tonelli_shanks
pub trait ModIntBaseExt: ModIntBase { fn sqrt(self) -> Option<Self> { ... } }
Performs Tonelli–Shanks algorithm.
fn sqrt(self) -> Option<Self>
impl<Z: ModIntBase> ModIntBaseExt for Z