| Constructor and Description |
|---|
ExtMath() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
feq(double x1,
double x2,
double eps)
Performs a fuzzy equal operation for the two given arguments.
|
static boolean |
fneq(double x1,
double x2,
double eps)
Performs a fuzzy not-equal operation for the two given arguments.
|
static double |
log10(double x)
Deprecated.
since BEAM 4.10, Use Java Math class
|
static double |
sign(double a)
Computes the signum of a given number.
|
static float |
sign(float a)
Computes the signum of a given number.
|
static int |
sign(int a)
Computes the signum of a given integer.
|
static long |
sign(long a)
Computes the signum of a given long integer.
|
@Deprecated public static double log10(double x)
x - number greater than 0.0.public static boolean feq(double x1,
double x2,
double eps)
x1 - the first valuex2 - the second valueeps - the maximum deviationpublic static boolean fneq(double x1,
double x2,
double eps)
x1 - the first valuex2 - the second valueeps - the maximum deviationpublic static int sign(int a)
a - the numberpublic static long sign(long a)
a - the numberpublic static float sign(float a)
a - the numberpublic static double sign(double a)
a - the numberCopyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.