Home
last modified time | relevance | path

Searched refs:multiplier (Results 1 – 7 of 7) 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.java163 …private void assertDecFmtWithMultiplierAndFraction(String value, int multiplier, int fraction, Str… in assertDecFmtWithMultiplierAndFraction() argument
165 df.setMultiplier(multiplier); in assertDecFmtWithMultiplierAndFraction()
171 …private void assertDecFmtWithMultiplierAndFractionByLocale(String value, int multiplier, int fract… in assertDecFmtWithMultiplierAndFractionByLocale() argument
173 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/annotations/hiddenapi/java/util/
DRandom.java181 private static final long multiplier = 25214903917L; // 0x5deece66dL field in Random
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java4375 int multiplier = fields.get("multiplier", 1); in readObject() local
4376 if (multiplier != icuDecimalFormat.getMultiplier()) { in readObject()
4377 icuDecimalFormat.setMultiplier(multiplier); in readObject()
/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()
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java120 int multiplier, in parseNumber() argument