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

Function DivideChecked

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

Source from the content-addressed store, hash-verified

58}
59
60static Result<Datum> DivideChecked(const Datum& left, const Datum& right,
61 ArithmeticOptions options = ArithmeticOptions(),
62 ExecContext* ctx = NULLPTR) {
63 options.check_overflow = true;
64 return Divide(left, right, std::move(options), ctx);
65}
66
67template <BinaryOp& Op, typename ArrowType, typename CType = typename ArrowType::c_type>
68static void ArrayScalarKernel(benchmark::State& state) {

Callers

nothing calls this directly

Calls 1

DivideClass · 0.70

Tested by

no test coverage detected