Searched refs:relative_margin (Results 1 – 1 of 1) sorted by relevance
132 T relative_margin = static_cast<T>(fraction * Max(Abs(x), Abs(y))); in WithinFractionOrMargin() local133 return AbsDiff(x, y) <= Max(margin, relative_margin); in WithinFractionOrMargin()