floatCompare

Compare two 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(float, float, float)

static
int
floatCompare
(
float a
,
float b
,
float precision
)

Meta