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

Method Call

cpp/src/arrow/compute/kernels/scalar_arithmetic.cc:315–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313struct AcoshChecked {
314 template <typename T, typename Arg0>
315 static enable_if_floating_value<Arg0, T> Call(KernelContext*, Arg0 val, Status* st) {
316 static_assert(std::is_same<T, Arg0>::value, "");
317 if (ARROW_PREDICT_FALSE(val < 1.0)) {
318 *st = Status::Invalid("domain error");
319 return val;
320 }
321 return std::acosh(val);
322 }
323};
324
325struct Atan {

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected