| 84 | template <typename T, typename Flags> |
| 85 | struct FloatingEquality { |
| 86 | explicit FloatingEquality(const EqualOptions& options) |
| 87 | : epsilon(static_cast<T>(options.atol().value_or(-1))), |
| 88 | ulp_distance(options.ulp_distance().value_or(-1)) {} |
| 89 | |
| 90 | bool operator()(T x, T y) const { |
| 91 | if (x == y) { |
nothing calls this directly
no outgoing calls
no test coverage detected