Static Public Member Functions | |
static boolean | abs_gt (double x, double y) |
static boolean | abs_lt (double x, double y) |
static boolean | eq (double x, double y) |
Static Public Attributes | |
static double | DEF_DOUBLE_COMP_PREC = 1.0e-10 |
Default precision for comparison of double values. | |
static double | DOUBLE_COMP_PREC = DEF_DOUBLE_COMP_PREC |
Precision for comparison of double values, can be modified. |
This class provides some common tools for floating point computations.
Definition at line 29 of file FloatT.java.
static boolean utils.FloatT.abs_gt | ( | double | x, |
double | y | ||
) | [inline, static] |
Definition at line 46 of file FloatT.java.
static boolean utils.FloatT.abs_lt | ( | double | x, |
double | y | ||
) | [inline, static] |
Definition at line 42 of file FloatT.java.
static boolean utils.FloatT.eq | ( | double | x, |
double | y | ||
) | [inline, static] |
Definition at line 38 of file FloatT.java.
double utils.FloatT.DEF_DOUBLE_COMP_PREC = 1.0e-10 [static] |
Default precision for comparison of double values.
Definition at line 32 of file FloatT.java.
double utils.FloatT.DOUBLE_COMP_PREC = DEF_DOUBLE_COMP_PREC [static] |
Precision for comparison of double values, can be modified.
Definition at line 35 of file FloatT.java.