public static boolean fastSetFromBigInteger(
      BigInteger bigInteger, int scale, FastHiveDecimal fastResult) {
    // Poor performance, because the precision will be calculated by bigInteger.toString()
    return fastSetFromBigInteger(bigInteger, scale, -1, fastResult);
  }
Creates a fast decimal from a BigInteger with a specified scale.

NOTE: The fastSetFromBigInteger method requires the caller to pass a fastResult
parameter has been reset for better performance.

@param bigInteger the value to set as an integer
@param scale the scale to use
@param fastResult an object to reuse
@return True if the BigInteger and scale were successfully converted to a decimal.
storage-api/src/java/org/apache/hadoop/hive/common/type/FastHiveDecimalImpl.java