|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bc.jexp.impl.ExtMath
public class ExtMath
An extension the the class.
| Constructor Summary | |
|---|---|
ExtMath()
|
|
| Method Summary | |
|---|---|
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. 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtMath()
| Method Detail |
|---|
@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 deviation
public static boolean fneq(double x1,
double x2,
double eps)
x1 - the first valuex2 - the second valueeps - the maximum deviation
public static int sign(int a)
a - the number
public static long sign(long a)
a - the number
public static float sign(float a)
a - the number
public static double sign(double a)
a - the number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||