almostEqual function

bool almostEqual (double a, double b)

Checks whether two double numbers are almost equal.

Implementation

bool almostEqual(double a, double b) =>
    almostEqualNormD(a, b, a - b, _defaultDoubleAccuracy);