private static bool equals(float a, float b, float epsilon) { return (a - b < epsilon) && (a - b > -epsilon); }