doubleCompare

Compare two doubleing point numbers. They are considered equal when their difference is less than or equal to the precision. @param a the first number @param b the second number @param precision if abs(a - b) <= precision, a and b are considered equal @return 0 if a == b, 1 if a > b, -1 if a < b @see #doubleEqual(double, double, double)

public static
int
doubleCompare
(
double a
,
double b
,
double precision
)

Meta