Searched refs:multiplier (Results 1 - 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
H A D | Random.java | 88 private static final long multiplier = 0x5DEECE66DL; field in class:Random 146 return (seed ^ multiplier) & mask; 203 nextseed = (oldseed * multiplier + addend) & mask; 565 * double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s)/s); 566 * nextNextGaussian = v2 * multiplier; 568 * return v1 * multiplier; 595 double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s)/s); 596 nextNextGaussian = v2 * multiplier; 598 return v1 * multiplier;
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | DecimalFormatTest.java | 62 // Regression test for http://b/1897917: BigDecimal does not take into account multiplier. 162 private void assertDecFmtWithMultiplierAndFraction(String value, int multiplier, int fraction, String expectedResult) { argument 164 df.setMultiplier(multiplier); 170 private void assertDecFmtWithMultiplierAndFractionByLocale(String value, int multiplier, int fraction, Locale locale, String expectedResult) { argument 172 df.setMultiplier(multiplier);
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ThreadLocalRandom.java | 457 double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s)/s); 458 nextLocalGaussian.set(new Double(v2 * multiplier)); 459 return v1 * multiplier;
|
/libcore/ojluni/src/main/java/java/time/ |
H A D | Duration.java | 409 private static long parseNumber(CharSequence text, String parsed, int multiplier, String errorText) { argument 416 return Math.multiplyExact(val, multiplier);
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | DecimalFormat.java | 899 // Android-removed: STATUS_* constants, multiplier fields and methods and subparse(String, ...). 1027 * Gets the multiplier for use in percent, per mille, and similar 1030 * @return the multiplier 1039 * Sets the multiplier for use in percent, per mille, and similar 1041 * For a percent format, set the multiplier to 100 and the suffixes to 1043 * For a per mille format, set the multiplier to 1000 and the suffixes to 1046 * <P>Example: with multiplier 100, 1.23 is formatted as "123", and 1049 * @param newValue the new multiplier 1622 new ObjectStreamField("multiplier", int.class), 1648 fields.put("multiplier", icuDecimalForma [all...] |
Completed in 1113 milliseconds