code: public double min(double... values) {
          double min = Double.MAX_VALUE;
          for (int i = 0; i < values.length; i++) {
              if (i == 0 || values[i] < min) {
                  min = values[i];
              }
          }
          
          return min;
      }
docs: Get the smallest of the set of double values.
  
  @param values the set of values
  
  @return The greatest of the values