Here you can find the source of max(float a, float b)
public static float max(float a, float b)
//package com.java2s; //License from project: Open Source License public class Main { public static float max(float a, float b) { return a > b ? a : b; }/*from w w w .j av a 2s . com*/ public static float max(int a, int b) { return a > b ? a : b; } public static float max(float a, float b, float c) { return a > b ? (a > c ? a : c) : (b > c ? b : c); } public static float max(int a, int b, int c) { return a > b ? (a > c ? a : c) : (b > c ? b : c); } }