code: public static String format(float[] f) {
      return (f == null) ? "null" : (f.length == 0) ? "" : //
          formatTo(new StringBuilder(), f, ", ").toString();
    }
docs: Formats the float array f with ',' as separator and default precision.
  
  @param f the float array to be formatted
  @return a String representing the float array f