public static double Log10(this BigInt self) { return(BigInt.Log10(self)); }
/// <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;