Searched defs:randomDouble (Results 1 - 7 of 7) sorted by relevance

/external/guava/guava-tests/test/com/google/common/math/
H A DMathBenchmarking.java109 static double randomDouble(int maxExponent) { method in class:MathBenchmarking
123 return Math.exp(randomDouble(6));
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DNumberFormatRoundTripTest.java89 public double randomDouble(double range) { method in class:NumberFormatRoundTripTest
116 _test(fmt, randomDouble(1));
118 _test(fmt, randomDouble(10000));
120 _test(fmt, Math.floor((randomDouble(10000))));
122 _test(fmt, randomDouble(1e50));
124 _test(fmt, randomDouble(1e-50));
126 _test(fmt, randomDouble(1e100));
128 _test(fmt, randomDouble(1e75));
130 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier());
132 _test(fmt, randomDouble(
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatRoundTripTest.java85 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 Dnmfmtrt.cpp79 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 Dwinnmtst.cpp81 static double randomDouble(void) function
234 double d = randomDouble();
/external/opencv3/modules/ts/include/opencv2/ts/
H A Docl_test.hpp209 double randomDouble(double minVal, double maxVal) function in struct:cvtest::ocl::TestUtils
244 return Scalar(randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal));
/external/opencv3/modules/ts/src/
H A Dcuda_test.cpp68 double randomDouble(double minVal, double maxVal) function in namespace:cvtest
81 return Scalar(randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, maxVal));

Completed in 324 milliseconds