Home
last modified time | relevance | path

Searched refs:randomDouble (Results 1 – 24 of 24) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRoundTripTest.java85 public double randomDouble(double range) { in randomDouble() method in NumberFormatRoundTripTest
112 _test(fmt, randomDouble(1)); in _test()
114 _test(fmt, randomDouble(10000)); in _test()
116 _test(fmt, Math.floor((randomDouble(10000)))); in _test()
118 _test(fmt, randomDouble(1e50)); in _test()
120 _test(fmt, randomDouble(1e-50)); in _test()
122 _test(fmt, randomDouble(1e100)); in _test()
124 _test(fmt, randomDouble(1e75)); in _test()
126 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier()); in _test()
128 _test(fmt, randomDouble(1e75) / ((DecimalFormat) fmt).getMultiplier()); in _test()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatRoundTripTest.java89 public double randomDouble(double range) { in randomDouble() method in NumberFormatRoundTripTest
116 _test(fmt, randomDouble(1)); in _test()
118 _test(fmt, randomDouble(10000)); in _test()
120 _test(fmt, Math.floor((randomDouble(10000)))); in _test()
122 _test(fmt, randomDouble(1e50)); in _test()
124 _test(fmt, randomDouble(1e-50)); in _test()
126 _test(fmt, randomDouble(1e100)); in _test()
128 _test(fmt, randomDouble(1e75)); in _test()
130 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier()); in _test()
132 _test(fmt, randomDouble(1e75) / ((DecimalFormat) fmt).getMultiplier()); in _test()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnmfmtrt.cpp79 NumberFormatRoundTripTest::randomDouble(double range) in randomDouble() function in NumberFormatRoundTripTest
165 test(fmt, randomDouble(1)); in test()
166 test(fmt, randomDouble(10000)); in test()
167 test(fmt, uprv_floor((randomDouble(10000)))); in test()
168 test(fmt, randomDouble(1e50)); in test()
169 test(fmt, randomDouble(1e-50)); in test()
171 test(fmt, randomDouble(1e100)); in test()
173 test(fmt, randomDouble(1e75)); in test()
190 test(fmt, randomDouble(DBL_MAX/2.0) / df->getMultiplier()); in test()
192 test(fmt, randomDouble(1e75) / df->getMultiplier()); in test()
[all …]
Dwinnmtst.cpp81 static double randomDouble(void) in randomDouble() function
234 double d = randomDouble(); in testLocale()
Dnmfmtrt.h43 static double randomDouble(double range);
/external/guava/guava-tests/benchmark/com/google/common/math/
DDoubleMathRoundingBenchmark.java21 import static com.google.common.math.MathBenchmarking.randomDouble;
47 doubleInIntRange[i] = randomDouble(Integer.SIZE - 2); in setUp()
48 doubleInLongRange[i] = randomDouble(Long.SIZE - 2); in setUp()
DDoubleMathBenchmark.java22 import static com.google.common.math.MathBenchmarking.randomDouble;
42 doubles[i] = randomDouble(Long.SIZE); in setUp()
/external/opencv3/modules/core/test/ocl/
Dtest_matrix_operation.cpp94 double alpha = randomDouble(-4, 4), beta = randomDouble(-4, 4); in OCL_TEST_P()
136 if (!one_cn_mask && randomDouble(0.0, 2.0) > 1.0) in PARAM_TEST_CASE()
Dtest_gemm.cpp120 alpha = randomDouble(-4, 4); in PARAM_TEST_CASE()
121 beta = randomDouble(-4, 4); in PARAM_TEST_CASE()
Dtest_arithm.cpp1667 value = randomDouble(-100, 100); in PARAM_TEST_CASE()
/external/guava/guava-tests/test/com/google/common/math/
DMathBenchmarking.java109 static double randomDouble(int maxExponent) { in randomDouble() method in MathBenchmarking
123 return Math.exp(randomDouble(6)); in randomPositiveDouble()
/external/opencv3/modules/ts/include/opencv2/ts/
Docl_test.hpp209 double randomDouble(double minVal, double maxVal) in randomDouble() function
244 …return Scalar(randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, max… in randomScalar()
Dcuda_test.hpp61 CV_EXPORTS double randomDouble(double minVal, double maxVal);
/external/opencv3/modules/ts/src/
Dcuda_test.cpp68 double randomDouble(double minVal, double maxVal) in randomDouble() function
81 …return Scalar(randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, max… in randomScalar()
/external/opencv3/modules/cudaarithm/test/
Dtest_gpumat.cpp85 cv::Scalar val = cv::Scalar::all(randomDouble(0.0, 255.0)); in CUDA_TEST_P()
294 double a = randomDouble(0.0, 1.0); in CUDA_TEST_P()
295 double b = randomDouble(-10.0, 10.0); in CUDA_TEST_P()
Dtest_element_operations.cpp717 double scale = randomDouble(0.0, 255.0); in CUDA_TEST_P()
903 double scale = randomDouble(0.0, 255.0); in CUDA_TEST_P()
990 double scale = randomDouble(0.0, 255.0); in CUDA_TEST_P()
1084 double scale = randomDouble(0.0, 255.0); in CUDA_TEST_P()
1269 double scale = randomDouble(0.0, 255.0); in CUDA_TEST_P()
1324 double scale = randomDouble(0.0, 255.0); in CUDA_TEST_P()
1797 double power = randomDouble(2.0, 4.0); in CUDA_TEST_P()
2350 double val = randomDouble(0.0, 255.0); in CUDA_TEST_P()
2433 double val = randomDouble(0.0, 255.0); in CUDA_TEST_P()
2493 double alpha = randomDouble(-10.0, 10.0); in CUDA_TEST_P()
[all …]
Dtest_arithm.cpp82 double alpha = randomDouble(-10.0, 10.0); in CUDA_TEST_P()
83 double beta = randomDouble(-10.0, 10.0); in CUDA_TEST_P()
/external/opencv3/modules/imgproc/test/ocl/
Dtest_imgproc.cpp253 double k = randomDouble(0.01, 0.9); in OCL_TEST_P()
375 double maxVal = randomDouble(20.0, 127.0); in OCL_TEST_P()
376 double thresh = randomDouble(0.0, maxVal); in OCL_TEST_P()
Dtest_filter2d.cpp98 delta = randomDouble(-100, 100); in PARAM_TEST_CASE()
Dtest_sepfilter2D.cpp97 delta = randomDouble(-100, 100); in PARAM_TEST_CASE()
Dtest_accumulate.cpp98 alpha = randomDouble(-5, 5); in PARAM_TEST_CASE()
Dtest_histogram.cpp150 scale = randomDouble(0.1, 1); in PARAM_TEST_CASE()
/external/opencv3/modules/cudaimgproc/test/
Dtest_corners.cpp83 double k = randomDouble(0.1, 0.9); in CUDA_TEST_P()
/external/opencv3/modules/cudafilters/test/
Dtest_filters.cpp452 double sigma1 = randomDouble(0.1, 1.0); in CUDA_TEST_P()
453 double sigma2 = randomDouble(0.1, 1.0); in CUDA_TEST_P()