public static Int128 ModSub(Int128 a, Int128 b, Int128 modulus) { Int128 c; UInt128.ModSub(out c.v, ref a.v, ref b.v, ref modulus.v); return(c); }
public static UInt128 ModularDifference(UInt128 a, UInt128 b, UInt128 modulus) { return(UInt128.ModSub(a, b, modulus)); }