Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/
DRandom.java37 private static final long multiplier = 0x5deece66dL; field in Random
97 seed = (seed * multiplier + 0xbL) & ((1L << 48) - 1); in next()
163 double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s) / s); in nextGaussian() local
164 nextNextGaussian = v2 * multiplier; in nextGaussian()
166 return v1 * multiplier; in nextGaussian()
207 this.seed = (seed ^ multiplier) & ((1L << 48) - 1); in setSeed()
DGregorianCalendar.java407 long multiplier = 0; in add() local
424 multiplier = 43200000L; in add()
429 multiplier = 86400000L; in add()
434 multiplier = 604800000L; in add()
438 if (multiplier == 0) { in add()
444 long delta = value * multiplier; in add()
/libcore/luni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java37 private static final long multiplier = 0x5DEECE66DL; field in ThreadLocalRandom
96 rnd = (seed ^ multiplier) & mask; in setSeed()
100 rnd = (rnd * multiplier + addend) & mask; in next()
/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()