bool Function(double a, double b) createDoubleRoughlyEqual(double epsilon) => (a, b) => doubleRoughlyEqual(a, b, epsilon);