Example #1
0
 /// <summary>
 /// True arbitrary precision divide.
 /// </summary>
 /// <param name="n1"></param>
 /// <param name="n2"></param>
 /// <returns></returns>
 public static BigInt Div(BigInt n1, BigInt n2)
 {
     if (n1.digitArray.Length != n2.digitArray.Length) MakeSafe(ref n1, ref n2);
     BigInt res = new BigInt(n1);
     res.Div(n2);
     return res;
 }