public static boolean nearlyEqualsAbs(float a, float b, float maxAbsDiff) {
    return absoluteDifference(a, b) <= Math.abs(maxAbsDiff);
  }
public static boolean nearlyEqualsAbs(float a, float b, float maxAbsDiff) {
    return absoluteDifference(a, b) <= Math.abs(maxAbsDiff);
  }
public static boolean nearlyEqualsAbs ( float a , float b , float maxAbsDiff ) { return absoluteDifference ( a , b ) <= Math . abs ( maxAbsDiff ) ; }
Check if two numbers are nearly equal with given absolute tolerance.

@param a  first number.
@param b  second number.
@param maxAbsDiff  the maximum {@link #absoluteDifference absolute difference} the two numbers may have.
@return true if within tolerance.
Check if two numbers are nearly equal with given absolute tolerance .