msqrt(m,n)
Computes a modular square root solving x^2 = m mod n. This is useful in the case of very large numbers, in which case the M2 native routines will not work.
i1 : msqrt(3,12347) o1 = 10378
The object msqrt is a method function.