Exemplo n.º 1
0
 /// <summary>
 /// Base 10 logarithm of a number
 /// </summary>
 /// <remarks>This is a very slow function, despite repeated attempts at optimisation.
 /// To make it any faster, different strategies would be needed for integer operations.
 /// It does, however, scale well with the number of bits.
 /// </remarks>
 /// <param name="n1">The number to find the base 10 logarithm of</param>
 public static BigFloat Log10(BigFloat n1)
 {
     BigFloat res = new BigFloat(n1);
     n1.Log10();
     return n1;
 }