Example #1
0
 public static double Log10(this BigInt self)
 {
     return(BigInt.Log10(self));
 }
Example #2
0
 /// <summary>
 /// Calculates log base 10 of a BigInteger.
 /// </summary>
 public double Log10()
 {
     return(BigInt.Log10(Value));
 }
 public static int CountDigits
     (System.Numerics.BigInteger number) => ((int)BigInteger.Log10(number)) + 1;