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

Function Ceil

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

Source from the content-addressed store, hash-verified

692}
693
694BasicDecimal128 Ceil(const BasicDecimalScalar128& x, bool* overflow) {
695 return RoundWithPositiveScale(x, x.precision(), 0, RoundType::kRoundTypeCeil, overflow);
696}
697
698BasicDecimal128 Floor(const BasicDecimalScalar128& x, bool* overflow) {
699 return RoundWithPositiveScale(x, x.precision(), 0, RoundType::kRoundTypeFloor,

Callers 2

TEST_FFunction · 0.70
ceil_decimal128Function · 0.70

Calls 2

RoundWithPositiveScaleFunction · 0.85
precisionMethod · 0.45

Tested by 1

TEST_FFunction · 0.56