The Max of relative error and diff is needed to handle cases with large eps values; eg: fequals(1.0, 1.11, 0.1) which needs the diff for comparison rather than relative error