Here you can find the source of min(float a, float b)
public static float min(float a, float b)
//package com.java2s; //License from project: Open Source License public class Main { public static float min(float a, float b) { return a < b ? a : b; }// w ww . j a va2s.c o m public static float min(int a, int b) { return a < b ? a : b; } public static float min(float a, float b, float c) { return a < b ? (a < c ? a : c) : (b < c ? b : c); } public static float min(int a, int b, int c) { return a < b ? (a < c ? a : c) : (b < c ? b : c); } }