Function sqrt [src]
Return the square root of L, or NotSquare if there isn't any solutions.
Prototype
pub fn sqrt(n: Scalar) NotSquareError!Scalar
Parameters
n: Scalar
Possible Errors
Source
pub fn sqrt(n: Scalar) NotSquareError!Scalar {
return Scalar{ .fe = try n.fe.sqrt() };
}