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

Method ToRealPositiveNoSplit

cpp/src/arrow/util/decimal.cc:370–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368
369 template <typename Real>
370 static Real ToRealPositiveNoSplit(const Decimal64& decimal, int32_t scale) {
371 Real x = static_cast<Real>(decimal.value());
372 x *= LargePowerOfTen<Real>(-scale);
373 return x;
374 }
375
376 template <typename Real>
377 static Real ToRealPositive(const Decimal64& decimal, int32_t scale) {

Callers

nothing calls this directly

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected