Searched defs:randomDouble (Results 1 - 4 of 4) sorted by relevance
/external/guava/guava-tests/test/com/google/common/math/ |
H A D | MathBenchmarking.java | 63 static double randomDouble(int maxExponent) { method in class:MathBenchmarking 75 return Math.exp(randomDouble(6));
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberFormatRoundTripTest.java | 85 public double randomDouble(double range) { method in class:NumberFormatRoundTripTest 112 _test(fmt, randomDouble(1)); 114 _test(fmt, randomDouble(10000)); 116 _test(fmt, Math.floor((randomDouble(10000)))); 118 _test(fmt, randomDouble(1e50)); 120 _test(fmt, randomDouble(1e-50)); 122 _test(fmt, randomDouble(1e100)); 124 _test(fmt, randomDouble(1e75)); 126 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier()); 128 _test(fmt, randomDouble( [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | nmfmtrt.cpp | 79 NumberFormatRoundTripTest::randomDouble(double range) function in class:NumberFormatRoundTripTest 165 test(fmt, randomDouble(1)); 166 test(fmt, randomDouble(10000)); 167 test(fmt, uprv_floor((randomDouble(10000)))); 168 test(fmt, randomDouble(1e50)); 169 test(fmt, randomDouble(1e-50)); 171 test(fmt, randomDouble(1e100)); 173 test(fmt, randomDouble(1e75)); 189 /* DBL_MAX/2 is here because randomDouble does a *2 in the math */ 190 test(fmt, randomDouble(DBL_MA [all...] |
H A D | winnmtst.cpp | 81 static double randomDouble(void) function 234 double d = randomDouble();
|
Completed in 136 milliseconds