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

Method RoundedRightShift

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

Source from the content-addressed store, hash-verified

281 using Base::PowerOfTen;
282
283 static Decimal32 RoundedRightShift(const Decimal32& x, int bits) {
284 // currently we *only* push to the Approx method for Decimal32
285 // so this should never get called.
286 DCHECK(false);
287 return x;
288 }
289
290 template <typename Real>
291 static Result<Decimal32> FromPositiveRealApprox(Real real, int32_t precision,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected