public class MathUtil
extends java.lang.Object
Math| Constructor and Description |
|---|
MathUtil() |
| Modifier and Type | Method and Description |
|---|---|
static double |
avg(double a,
double b)
Returns the average of two doubles
|
static double |
base10Log(double x) |
static int |
mostSignificantDigit(double x) |
static double |
orderOfMagnitude(double x) |
public static double orderOfMagnitude(double x)
public static double base10Log(double x)
public static int mostSignificantDigit(double x)
public static double avg(double a,
double b)
a - one of the doubles to averageb - the other double to average