MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / max

Method max

Ports/CLDC11/src/java/lang/Math.java:77–79  ·  view source on GitHub ↗
(double a, double b)

Source from the content-addressed store, hash-verified

75
76 /// Returns the greater of two double values. That is, the result is the argument closer to positive infinity. If the arguments have the same value, the result is that same value. If either value is NaN, then the result is NaN. Unlike the the numerical comparison operators, this method considers negative zero to be strictly smaller than positive zero. If one argument is positive zero and the other negative zero, the result is positive zero.
77 public static double max(double a, double b){
78 return 0.0d; //TODO codavaj!!
79 }
80
81 /// Returns the greater of two float values. That is, the result is the argument closer to positive infinity. If the arguments have the same value, the result is that same value. If either value is NaN, then the result is NaN. Unlike the the numerical comparison operators, this method considers negative zero to be strictly smaller than positive zero. If one argument is positive zero and the other negative zero, the result is positive zero.
82 public static float max(float a, float b){

Callers 15

parseOffsetDateTimeMethod · 0.95
parseZonedDateTimeMethod · 0.95
growLengthMethod · 0.95
paintMethod · 0.95
keyControlMethod · 0.95
runMethod · 0.95
getFieldWidthMethod · 0.95
getFieldHeightMethod · 0.95
setFrameListenerMethod · 0.95
initComponentMethod · 0.95
frameAtMethod · 0.95
readFramesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected