Home
last modified time | relevance | path

Searched refs:multiplier (Results 1 – 3 of 3) 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()
599 double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s)/s); in nextGaussian() local
600 nextNextGaussian = v2 * multiplier; in nextGaussian()
602 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/luni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java428 double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s)/s); in nextGaussian() local
429 nextLocalGaussian.set(new Double(v2 * multiplier)); in nextGaussian()
430 return v1 * multiplier; in nextGaussian()