static double differentByEpsilonRatio(double a, double b, double epsilon) { ret sign(a) != sign(b) || diffRatio(a, b) > epsilon; }