public static boolean fastSetFromDouble(
      double doubleValue, FastHiveDecimal fastResult) {

    String doubleString = Double.toString(doubleValue);
    return fastSetFromString(doubleString, false, fastResult);

  }
Creates fast decimal from a double.

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

@param doubleValue the value to set
@param fastResult an object to reuse
@return was the conversion successful?
storage-api/src/java/org/apache/hadoop/hive/common/type/FastHiveDecimalImpl.java