public Decimal128 update(BigInteger bigInt, short scale) {
    this.scale = scale;
    this.signum = (byte) bigInt.compareTo(BigInteger.ZERO);
    if (signum == 0) {
      update(0);
    } else if (signum < 0) {
      unscaledValue.update(bigInt.negate());
    } else {
      unscaledValue.update(bigInt);
    }
    return this;
  }
Updates the value of this object with the given {@link BigInteger} and scale.

@param bigInt
         {@link java.math.BigInteger}
@param scale
common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java