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

Function GenerateFloatingPoint

cpp/src/arrow/compute/kernels/codegen_internal.h:1091–1101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1089// See "Numeric" above for description of the generator functor
1090template <template <typename...> class Generator, typename Type0, typename... Args>
1091ArrayKernelExec GenerateFloatingPoint(detail::GetTypeId get_id) {
1092 switch (get_id.id) {
1093 case Type::FLOAT:
1094 return Generator<Type0, FloatType, Args...>::Exec;
1095 case Type::DOUBLE:
1096 return Generator<Type0, DoubleType, Args...>::Exec;
1097 default:
1098 ARROW_DCHECK(false);
1099 return nullptr;
1100 }
1101}
1102
1103// Generate a kernel given a templated functor for integer types
1104//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected