maximumMatchingFloatingPointNumber function

double maximumMatchingFloatingPointNumber(
  1. double value,
  2. int maxNumbersBetween
)

Returns the floating point number that will match the value with the tolerance on the maximum size (i.e. the result is always bigger than the value)

Implementation

double maximumMatchingFloatingPointNumber(
        double value, int maxNumbersBetween) =>
    rangeOfMatchingFloatingPointNumbers(value, maxNumbersBetween).item2;