↓ 2 callersFunctionMaxBitsRequiredIncreaseAfterScalingSuppose we have a number that requires x bits to be represented and we scale it up by 10^scale_by. Let's say now y bits are required to represent it.
cpp/src/gandiva/precompiled/decimal_ops.cc:155