public abstract class Numbers
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
DBL_EPSILON |
static float |
FLT_EPSILON |
Constructor and Description |
---|
Numbers() |
Modifier and Type | Method and Description |
---|---|
static int |
hashCode(double x) |
static int |
hashCode(float x) |
static boolean |
isNear(double x,
double y) |
static boolean |
isNear(double x,
double y,
double absolute_tolerance,
double relative_tolerance) |
static boolean |
isNear(float x,
float y) |
static boolean |
isNear(float x,
float y,
float absolute_tolerance,
float relative_tolerance) |
public static final float FLT_EPSILON
public static final double DBL_EPSILON
public static final boolean isNear(float x, float y, float absolute_tolerance, float relative_tolerance)
public static final boolean isNear(float x, float y)
public static final boolean isNear(double x, double y, double absolute_tolerance, double relative_tolerance)
public static final boolean isNear(double x, double y)
public static final int hashCode(float x)
public static final int hashCode(double x)