doubleCompare

Compare two double-precision floating 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 #floatEqual(double, double, double)

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

Meta