public static boolean fastSetFromFloat(
      float floatValue, FastHiveDecimal fastResult) {

    String floatString = Float.toString(floatValue);
    return fastSetFromString(floatString, false, fastResult);

  }
Creates fast decimal from a float.

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

@param floatValue 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