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

Function CastFloatingToFloating

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

Source from the content-addressed store, hash-verified

54}
55
56Status CastFloatingToFloating(KernelContext*, const ExecSpan& batch, ExecResult* out) {
57 CastNumberToNumberUnsafe(batch[0].type()->id(), out->type()->id(), batch[0].array,
58 out->array_span_mutable());
59 return Status::OK();
60}
61
62// ----------------------------------------------------------------------
63// Implement fast safe floating point to integer cast

Callers

nothing calls this directly

Calls 4

CastNumberToNumberUnsafeFunction · 0.85
OKFunction · 0.50
idMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected