Searched refs:multiplier (Results 1 – 4 of 4) sorted by relevance
37 private static final long multiplier = 0x5deece66dL; field in Random97 seed = (seed * multiplier + 0xbL) & ((1L << 48) - 1); in next()163 double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s) / s); in nextGaussian() local164 nextNextGaussian = v2 * multiplier; in nextGaussian()166 return v1 * multiplier; in nextGaussian()207 this.seed = (seed ^ multiplier) & ((1L << 48) - 1); in setSeed()
407 long multiplier = 0; in add() local424 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()
37 private static final long multiplier = 0x5DEECE66DL; field in ThreadLocalRandom96 rnd = (seed ^ multiplier) & mask; in setSeed()100 rnd = (rnd * multiplier + addend) & mask; in next()
162 …private void assertDecFmtWithMultiplierAndFraction(String value, int multiplier, int fraction, Str… in assertDecFmtWithMultiplierAndFraction() argument164 df.setMultiplier(multiplier); in assertDecFmtWithMultiplierAndFraction()170 …private void assertDecFmtWithMultiplierAndFractionByLocale(String value, int multiplier, int fract… in assertDecFmtWithMultiplierAndFractionByLocale() argument172 df.setMultiplier(multiplier); in assertDecFmtWithMultiplierAndFractionByLocale()