public static void divide(Decimal128 left, Decimal128 right,
      Decimal128 quotient, short scale) {
    if (quotient == left || quotient == right) {
      throw new IllegalArgumentException(
          "result object cannot be left or right operand");
    }

    quotient.update(left);
    quotient.divideDestructive(right, scale);
  }
Performs division and puts the result into the given object. Both operands
are first scaled up/down to the specified scale, then this method performs
the operation. This method is static and not destructive (except the result
object).
<p>
Unchecked exceptions: ArithmeticException an invalid scale is specified or
overflow.
</p>

@param left
         left operand
@param right
         right operand
@param quotient
         result object to receive the calculation result
@param scale
         scale of the result. must be 0 or positive.
common/src/java/org/apache/hadoop/hive/common/type/Decimal128.java