mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-03 03:25:28 -04:00
Move unused class to sandbox.
This commit is contained in:
parent
4424fc2648
commit
07df550c0c
@ -58,8 +58,6 @@ public final class MathUtil {
|
|||||||
return Math.log(pArg);
|
return Math.log(pArg);
|
||||||
}
|
}
|
||||||
|
|
||||||
private final static double LN_10 = Math.log(10);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the base 10 logarithm of a double value.
|
* Returns the base 10 logarithm of a double value.
|
||||||
*
|
*
|
||||||
@ -68,10 +66,10 @@ public final class MathUtil {
|
|||||||
* {@code pArg}.
|
* {@code pArg}.
|
||||||
*/
|
*/
|
||||||
public static double log(final double 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.
|
* Returns the base 2 logarithm of a double value.
|
Loading…
x
Reference in New Issue
Block a user