code: @Pure
  	public static double max(double... values) {
  		if (values == null || values.length == 0) {
  			return Double.NaN;
  		}
  		double max = values[0];
  		for (final double v : values) {
  			if (v > max) {
  				max = v;
  			}
  		}
  		return max;
  	}
docs: Replies the max value.
  
  @param values are the values to scan.
  @return the max value.