HomeSort by relevance Sort by last modified time
    Searched refs:randomDouble (Results 1 - 8 of 8) sorted by null

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
NumberFormatRoundTripTest.java 87 public double randomDouble(double range) {
114 _test(fmt, randomDouble(1));
116 _test(fmt, randomDouble(10000));
118 _test(fmt, Math.floor((randomDouble(10000))));
120 _test(fmt, randomDouble(1e50));
122 _test(fmt, randomDouble(1e-50));
124 _test(fmt, randomDouble(1e100));
126 _test(fmt, randomDouble(1e75));
128 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier());
130 _test(fmt, randomDouble(1e75) / ((DecimalFormat) fmt).getMultiplier())
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
NumberFormatRoundTripTest.java 86 public double randomDouble(double range) {
113 _test(fmt, randomDouble(1));
115 _test(fmt, randomDouble(10000));
117 _test(fmt, Math.floor((randomDouble(10000))));
119 _test(fmt, randomDouble(1e50));
121 _test(fmt, randomDouble(1e-50));
123 _test(fmt, randomDouble(1e100));
125 _test(fmt, randomDouble(1e75));
127 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier());
129 _test(fmt, randomDouble(1e75) / ((DecimalFormat) fmt).getMultiplier())
    [all...]
  /external/icu/icu4c/source/test/intltest/
nmfmtrt.cpp 81 NumberFormatRoundTripTest::randomDouble(double range)
167 test(fmt, randomDouble(1));
168 test(fmt, randomDouble(10000));
169 test(fmt, uprv_floor((randomDouble(10000))));
170 test(fmt, randomDouble(1e50));
171 test(fmt, randomDouble(1e-50));
173 test(fmt, randomDouble(1e100));
175 test(fmt, randomDouble(1e75));
191 /* DBL_MAX/2 is here because randomDouble does a *2 in the math */
192 test(fmt, randomDouble(DBL_MAX/2.0) / df->getMultiplier())
    [all...]
nmfmtrt.h 45 static double randomDouble(double range);
winnmtst.cpp 82 static double randomDouble(void)
235 double d = randomDouble();
  /external/guava/guava-tests/benchmark/com/google/common/math/
DoubleMathRoundingBenchmark.java 21 import static com.google.common.math.MathBenchmarking.randomDouble;
47 doubleInIntRange[i] = randomDouble(Integer.SIZE - 2);
48 doubleInLongRange[i] = randomDouble(Long.SIZE - 2);
DoubleMathBenchmark.java 22 import static com.google.common.math.MathBenchmarking.randomDouble;
42 doubles[i] = randomDouble(Long.SIZE);
  /external/guava/guava-tests/test/com/google/common/math/
MathBenchmarking.java 109 static double randomDouble(int maxExponent) {
123 return Math.exp(randomDouble(6));

Completed in 128 milliseconds