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

Method max

vm/JavaAPI/src/java/lang/Math.java:80–80  ·  view source on GitHub ↗

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 negativ

(double a, double b)

Source from the content-addressed store, hash-verified

78 * 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.
79 */
80 public static native double max(double a, double b);
81
82 public static native double pow(double a, double b);
83

Callers 15

compareMethod · 0.95
getDistanceToMethod · 0.95
setMaxResultsMethod · 0.95
getOutputFrameCountMethod · 0.95
normalizeMethod · 0.95
SignaturePanelMethod · 0.95
createRoundThumbImageMethod · 0.95
calcPreferredSizeMethod · 0.95
paintMethod · 0.95
pointerDraggedMethod · 0.95
imageAspectCalcMethod · 0.95

Calls

no outgoing calls

Tested by 15

imagesWithinToleranceMethod · 0.76
mainMethod · 0.76
emitErrorMethod · 0.76
captureAndEmitMethod · 0.76
buildGridMethod · 0.76
getFrameWidthMethod · 0.76
getFrameHeightMethod · 0.76
prepareCaptureMethod · 0.76
onFrameMethod · 0.76
onResizeMethod · 0.76
runTestMethod · 0.76
verifyMethod · 0.76