| 196 | // and returns true if the two values compare equal. |
| 197 | template <typename T, typename Visitor> |
| 198 | void VisitFloatingEquality(const EqualOptions& options, Visitor&& visit) { |
| 199 | FloatingEqualityDispatcher<T, Visitor>{options, std::forward<Visitor>(visit)} |
| 200 | .Dispatch(); |
| 201 | } |
| 202 | |
| 203 | inline bool IdentityImpliesEqualityNansNotEqual(const DataType& type) { |
| 204 | if (type.id() == Type::FLOAT || type.id() == Type::DOUBLE || |