Home
last modified time | relevance | path

Searched refs:multiplier (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DRandom.java88 private static final long multiplier = 0x5DEECE66DL; field in Random
146 return (seed ^ multiplier) & mask; in initialScramble()
203 nextseed = (oldseed * multiplier + addend) & mask; in next()
595 double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s)/s); in nextGaussian() local
596 nextNextGaussian = v2 * multiplier; in nextGaussian()
598 return v1 * multiplier; in nextGaussian()
/libcore/luni/src/test/java/libcore/java/text/
DDecimalFormatTest.java162 …private void assertDecFmtWithMultiplierAndFraction(String value, int multiplier, int fraction, Str… in assertDecFmtWithMultiplierAndFraction() argument
164 df.setMultiplier(multiplier); in assertDecFmtWithMultiplierAndFraction()
170 …private void assertDecFmtWithMultiplierAndFractionByLocale(String value, int multiplier, int fract… in assertDecFmtWithMultiplierAndFractionByLocale() argument
172 df.setMultiplier(multiplier); in assertDecFmtWithMultiplierAndFractionByLocale()
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java457 double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s)/s); in nextGaussian() local
458 nextLocalGaussian.set(new Double(v2 * multiplier)); in nextGaussian()
459 return v1 * multiplier; in nextGaussian()
/libcore/ojluni/src/main/java/java/time/
DDuration.java409 …private static long parseNumber(CharSequence text, String parsed, int multiplier, String errorText… in parseNumber() argument
416 return Math.multiplyExact(val, multiplier); in parseNumber()