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

Method Call

cpp/src/arrow/compute/kernels/base_arithmetic_internal.h:215–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213struct SubtractChecked {
214 template <typename T, typename Arg0, typename Arg1>
215 static enable_if_integer_value<T> Call(KernelContext*, Arg0 left, Arg1 right,
216 Status* st) {
217 T result = 0;
218 if (ARROW_PREDICT_FALSE(SubtractWithOverflow(left, right, &result))) {
219 *st = Status::Invalid("overflow");
220 }
221 return result;
222 }
223
224 template <typename T, typename Arg0, typename Arg1>
225 static enable_if_floating_value<T> Call(KernelContext*, Arg0 left, Arg1 right,

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected