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

Method Call

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

Source from the content-addressed store, hash-verified

171struct SinChecked {
172 template <typename T, typename Arg0>
173 static enable_if_floating_value<Arg0, T> Call(KernelContext*, Arg0 val, Status* st) {
174 static_assert(std::is_same<T, Arg0>::value, "");
175 if (ARROW_PREDICT_FALSE(std::isinf(val))) {
176 *st = Status::Invalid("domain error");
177 return val;
178 }
179 return std::sin(val);
180 }
181};
182
183struct Sinh {

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected