MCPcopy Index your code
hub / github.com/codenameone/CodenameOne / min

Method min

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

Returns the smaller of two double values. That is, the result is the value closer to negative 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 z

(double a, double b)

Source from the content-addressed store, hash-verified

100 * Returns the smaller of two double values. That is, the result is the value closer to negative 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 is negative zero, the result is negative zero.
101 */
102 public static native double min(double a, double b);
103
104 /**
105 * Returns the smaller of two float values. That is, the result is the value closer to negative 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 is negative zero, the result is negative zero.

Callers 15

updateMethod · 0.95
buildSoundMethod · 0.95
pointerDraggedMethod · 0.95
imageAspectCalcMethod · 0.95
updatePositionsMethod · 0.95
paintMethod · 0.95
showPopupDialogImplMethod · 0.95
showDialogMethod · 0.95
pointerDraggedMethod · 0.95
pointerReleasedMethod · 0.95
createMethod · 0.95
extendMethod · 0.95

Calls

no outgoing calls

Tested by 15

adaptArgsMethod · 0.76
runRoundTripMethod · 0.76
buildScreenshotMethod · 0.76
encodeThenDecodeMethod · 0.76
drawContentMethod · 0.76
drawContentMethod · 0.76
cropFrameMethod · 0.76
heroMethod · 0.76
onGroundMethod · 0.76
valueMethod · 0.76
shadeMethod · 0.76
buildMixedPayloadMethod · 0.76