public class MathUtil
extends java.lang.Object
| Constructor and Description |
|---|
MathUtil() |
| Modifier and Type | Method and Description |
|---|---|
static double |
abs(double d1) |
static float |
abs(float f1) |
static int |
abs(int i1) |
static long |
abs(long l1) |
static double |
acos(double d1) |
static double |
asin(double d1) |
static double |
atan(double d1) |
static long |
ceil(double d1) |
static double |
clamp(double value,
double min,
double max) |
static float |
clamp(float value,
float min,
float max) |
static int |
clamp(int value,
int min,
int max) |
static long |
clamp(long value,
long min,
long max) |
static double |
cos(double d1) |
static double |
cosh(double d1) |
static long |
floor(double d1) |
static double |
log(double input) |
static double |
log10(double input) |
static double |
max(double d1,
double d2) |
static float |
max(float f1,
float f2) |
static int |
max(int i1,
int i2) |
static long |
max(long l1,
long l2) |
static double |
min(double d1,
double d2) |
static float |
min(float f1,
float f2) |
static int |
min(int i1,
int i2) |
static long |
min(long l1,
long l2) |
static long |
round(double d1) |
static int |
round(float f1) |
static double |
sin(double d1) |
static double |
sinh(double d1) |
static double |
sqrt(double d1) |
static double |
tan(double d1) |
static double |
tanh(double d1) |
public static double max(double d1,
double d2)
public static float max(float f1,
float f2)
public static long max(long l1,
long l2)
public static int max(int i1,
int i2)
public static double min(double d1,
double d2)
public static float min(float f1,
float f2)
public static long min(long l1,
long l2)
public static int min(int i1,
int i2)
public static long floor(double d1)
public static long ceil(double d1)
public static double abs(double d1)
public static float abs(float f1)
public static long abs(long l1)
public static int abs(int i1)
public static double sin(double d1)
public static double cos(double d1)
public static double tan(double d1)
public static double asin(double d1)
public static double acos(double d1)
public static double atan(double d1)
public static double sinh(double d1)
public static double cosh(double d1)
public static double tanh(double d1)
public static double sqrt(double d1)
public static int round(float f1)
public static long round(double d1)
public static double clamp(double value,
double min,
double max)
public static float clamp(float value,
float min,
float max)
public static int clamp(int value,
int min,
int max)
public static long clamp(long value,
long min,
long max)
public static double log(double input)
public static double log10(double input)