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 93 public double randomDouble(double range) {
120 _test(fmt, randomDouble(1));
122 _test(fmt, randomDouble(10000));
124 _test(fmt, Math.floor((randomDouble(10000))));
126 _test(fmt, randomDouble(1e50));
128 _test(fmt, randomDouble(1e-50));
130 _test(fmt, randomDouble(1e100));
132 _test(fmt, randomDouble(1e75));
134 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier());
136 _test(fmt, randomDouble(1e75) / ((DecimalFormat) fmt).getMultiplier())
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
NumberFormatRoundTripTest.java 90 public double randomDouble(double range) {
117 _test(fmt, randomDouble(1));
119 _test(fmt, randomDouble(10000));
121 _test(fmt, Math.floor((randomDouble(10000))));
123 _test(fmt, randomDouble(1e50));
125 _test(fmt, randomDouble(1e-50));
127 _test(fmt, randomDouble(1e100));
129 _test(fmt, randomDouble(1e75));
131 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier());
133 _test(fmt, randomDouble(1e75) / ((DecimalFormat) fmt).getMultiplier())
    [all...]
  /external/icu/icu4c/source/test/intltest/
nmfmtrt.cpp 82 NumberFormatRoundTripTest::randomDouble(double range)
168 test(fmt, randomDouble(1));
169 test(fmt, randomDouble(10000));
170 test(fmt, uprv_floor((randomDouble(10000))));
171 test(fmt, randomDouble(1e50));
172 test(fmt, randomDouble(1e-50));
174 test(fmt, randomDouble(1e100));
176 test(fmt, randomDouble(1e75));
192 /* DBL_MAX/2 is here because randomDouble does a *2 in the math */
193 test(fmt, randomDouble(DBL_MAX/2.0) / df->getMultiplier())
    [all...]
nmfmtrt.h 45 static double randomDouble(double range);
winnmtst.cpp 86 static double randomDouble(void)
239 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 164 milliseconds