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

Method Call

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

Source from the content-addressed store, hash-verified

695struct SquareRoot {
696 template <typename T, typename Arg>
697 static enable_if_floating_value<Arg, T> Call(KernelContext*, Arg arg, Status*) {
698 static_assert(std::is_same<T, Arg>::value, "");
699 if (arg < 0.0) {
700 return std::numeric_limits<T>::quiet_NaN();
701 }
702 return std::sqrt(arg);
703 }
704};
705
706struct SquareRootChecked {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected