mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-02 11:05:29 -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);
|
||||
}
|
||||
|
||||
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.
|
Loading…
x
Reference in New Issue
Block a user