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

Method Call

cpp/src/arrow/compute/kernels/scalar_validity.cc:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58struct IsInfOperator {
59 template <typename OutType, typename InType>
60 static constexpr OutType Call(KernelContext*, const InType& value, Status*) {
61 if constexpr (std::is_same_v<InType, Float16>) {
62 return value.is_infinity();
63 } else {
64 return std::isinf(value);
65 }
66 }
67};
68
69template <typename T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected