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

Method ToRealPositiveNoSplit

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

Source from the content-addressed store, hash-verified

301
302 template <typename Real>
303 static Real ToRealPositiveNoSplit(const Decimal32& decimal, int32_t scale) {
304 Real x = static_cast<Real>(decimal.value());
305 x *= LargePowerOfTen<Real>(-scale);
306 return x;
307 }
308
309 template <typename Real>
310 static Real ToRealPositive(const Decimal32& decimal, int32_t scale) {

Callers

nothing calls this directly

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected