/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatRoundTripTest.java | 85 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/ |
D | NumberFormatRoundTripTest.java | 89 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/ |
D | nmfmtrt.cpp | 79 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 …]
|
D | winnmtst.cpp | 81 static double randomDouble(void) in randomDouble() function 234 double d = randomDouble(); in testLocale()
|
D | nmfmtrt.h | 43 static double randomDouble(double range);
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
D | DoubleMathRoundingBenchmark.java | 21 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()
|
D | DoubleMathBenchmark.java | 22 import static com.google.common.math.MathBenchmarking.randomDouble; 42 doubles[i] = randomDouble(Long.SIZE); in setUp()
|
/external/opencv3/modules/core/test/ocl/ |
D | test_matrix_operation.cpp | 94 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()
|
D | test_gemm.cpp | 120 alpha = randomDouble(-4, 4); in PARAM_TEST_CASE() 121 beta = randomDouble(-4, 4); in PARAM_TEST_CASE()
|
D | test_arithm.cpp | 1667 value = randomDouble(-100, 100); in PARAM_TEST_CASE()
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | MathBenchmarking.java | 109 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/ |
D | ocl_test.hpp | 209 double randomDouble(double minVal, double maxVal) in randomDouble() function 244 …return Scalar(randomDouble(minVal, maxVal), randomDouble(minVal, maxVal), randomDouble(minVal, max… in randomScalar()
|
D | cuda_test.hpp | 61 CV_EXPORTS double randomDouble(double minVal, double maxVal);
|
/external/opencv3/modules/ts/src/ |
D | cuda_test.cpp | 68 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/ |
D | test_gpumat.cpp | 85 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()
|
D | test_element_operations.cpp | 717 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 …]
|
D | test_arithm.cpp | 82 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/ |
D | test_imgproc.cpp | 253 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()
|
D | test_filter2d.cpp | 98 delta = randomDouble(-100, 100); in PARAM_TEST_CASE()
|
D | test_sepfilter2D.cpp | 97 delta = randomDouble(-100, 100); in PARAM_TEST_CASE()
|
D | test_accumulate.cpp | 98 alpha = randomDouble(-5, 5); in PARAM_TEST_CASE()
|
D | test_histogram.cpp | 150 scale = randomDouble(0.1, 1); in PARAM_TEST_CASE()
|
/external/opencv3/modules/cudaimgproc/test/ |
D | test_corners.cpp | 83 double k = randomDouble(0.1, 0.9); in CUDA_TEST_P()
|
/external/opencv3/modules/cudafilters/test/ |
D | test_filters.cpp | 452 double sigma1 = randomDouble(0.1, 1.0); in CUDA_TEST_P() 453 double sigma2 = randomDouble(0.1, 1.0); in CUDA_TEST_P()
|