Move unused class to sandbox.

This commit is contained in:
Harald Kuhr 2015-02-25 14:33:13 +01:00
parent 4424fc2648
commit 07df550c0c

View File

@ -58,8 +58,6 @@ public final class MathUtil {
return Math.log(pArg);
}
private final static double LN_10 = Math.log(10);
/**
* Returns the base 10 logarithm of a double value.
*
@ -68,10 +66,10 @@ public final class MathUtil {
* {@code pArg}.
*/
public static double log(final double pArg) {
return Math.log(pArg) / LN_10;
return Math.log10(pArg);
}
private final static double LN_2 = Math.log(10);
private final static double LN_2 = Math.log(2);
/**
* Returns the base 2 logarithm of a double value.