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