moreOrLessEquals method

bool moreOrLessEquals(
  1. num d, {
  2. double epsilon = precisionErrorTolerance,
})

returns a bool representing the extended double being equal to d

Implementation

bool moreOrLessEquals(
  num d, {
  double epsilon = precisionErrorTolerance,
}) =>
    this == d
        ? true
        : (this - d).abs() <= epsilon
            ? true
            : false;