Here you can find the source of min(double a, double b)
public static double min(double a, double b)
//package com.java2s; //License from project: Apache License public class Main { public static double min(double a, double b) { return a > b ? b : a; }/*from w ww. j a v a 2s .c o m*/ }