public Decimal128 update(long val, short scale) {
    this.scale = 0;
    if (val < 0L) {
      this.unscaledValue.update(-val);
      this.signum = -1;
    } else if (val == 0L) {
      zeroClear();
    } else {
      this.unscaledValue.update(val);
      this.signum = 1;
    }

    if (scale != 0) {
      changeScaleDestructive(scale);
    }
    return this;
  }
Update the value of this object with the given {@code long} with the given
scal.

@param val
         {@code long} value to be set to {@code Decimal128}.
@param scale
         scale of the {@code Decimal128}.
common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java