modInverse(_:)

Inverse modulus - BInt version

BigInt.swift:1206
func modInverse(_ m: BInt) -> BInt

Parameters

m

Modulus

Returns

If self and m are coprime, x such that (self * x) mod m = 1