MCPcopy Create free account
hub / github.com/apache/arrow / CompareFloating

Method CompareFloating

cpp/src/arrow/compare.cc:1057–1066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1055 protected:
1056 template <typename ScalarType>
1057 Status CompareFloating(const ScalarType& left) {
1058 using CType = decltype(left.value);
1059 const auto& right = checked_cast<const ScalarType&>(right_);
1060
1061 auto visitor = [&](auto&& compare_func) {
1062 result_ = compare_func(left.value, right.value);
1063 };
1064 VisitFloatingEquality<CType>(options_, std::move(visitor));
1065 return Status::OK();
1066 }
1067
1068 const Scalar& right_;
1069 const EqualOptions options_;

Callers

nothing calls this directly

Calls 1

OKFunction · 0.70

Tested by

no test coverage detected