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

Function GetMaxValue

cpp/src/gandiva/precompiled/decimal_ops.cc:476–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474 } while (0)
475
476static BasicDecimal128 GetMaxValue(int32_t precision) {
477 return BasicDecimal128::GetScaleMultiplier(precision) - 1;
478}
479
480// Compute the double scale multipliers once.
481static std::array<double, DecimalTypeUtil::kMaxPrecision + 1> kDoubleScaleMultipliers =

Callers 13

TestBasicsMethod · 0.85
TEST_PFunction · 0.85
ConstantsFunction · 0.85
TEST_FFunction · 0.85
ConvertToDecimal128Function · 0.85
MultiplyFunction · 0.85
ModFunction · 0.85
FromDoubleFunction · 0.85
FromInt64Function · 0.85
ModifyScaleAndPrecisionFunction · 0.85
RoundWithPositiveScaleFunction · 0.85

Calls 1

GetScaleMultiplierFunction · 0.85

Tested by 3

TestBasicsMethod · 0.68
TEST_PFunction · 0.68
TEST_FFunction · 0.68