Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRoundTripTest.java90 public double randomDouble(double range) { in randomDouble() method in NumberFormatRoundTripTest
117 _test(fmt, randomDouble(1)); in _test()
119 _test(fmt, randomDouble(10000)); in _test()
121 _test(fmt, Math.floor((randomDouble(10000)))); in _test()
123 _test(fmt, randomDouble(1e50)); in _test()
125 _test(fmt, randomDouble(1e-50)); in _test()
127 _test(fmt, randomDouble(1e100)); in _test()
129 _test(fmt, randomDouble(1e75)); in _test()
131 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier()); in _test()
133 _test(fmt, randomDouble(1e75) / ((DecimalFormat) fmt).getMultiplier()); in _test()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatRoundTripTest.java93 public double randomDouble(double range) { in randomDouble() method in NumberFormatRoundTripTest
120 _test(fmt, randomDouble(1)); in _test()
122 _test(fmt, randomDouble(10000)); in _test()
124 _test(fmt, Math.floor((randomDouble(10000)))); in _test()
126 _test(fmt, randomDouble(1e50)); in _test()
128 _test(fmt, randomDouble(1e-50)); in _test()
130 _test(fmt, randomDouble(1e100)); in _test()
132 _test(fmt, randomDouble(1e75)); in _test()
134 _test(fmt, randomDouble(1e308) / ((DecimalFormat) fmt).getMultiplier()); in _test()
136 _test(fmt, randomDouble(1e75) / ((DecimalFormat) fmt).getMultiplier()); in _test()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dnmfmtrt.cpp82 NumberFormatRoundTripTest::randomDouble(double range) in randomDouble() function in NumberFormatRoundTripTest
168 test(fmt, randomDouble(1)); in test()
169 test(fmt, randomDouble(10000)); in test()
170 test(fmt, uprv_floor((randomDouble(10000)))); in test()
171 test(fmt, randomDouble(1e50)); in test()
172 test(fmt, randomDouble(1e-50)); in test()
174 test(fmt, randomDouble(1e100)); in test()
176 test(fmt, randomDouble(1e75)); in test()
193 test(fmt, randomDouble(DBL_MAX/2.0) / df->getMultiplier()); in test()
195 test(fmt, randomDouble(1e75) / df->getMultiplier()); in test()
[all …]
Dwinnmtst.cpp86 static double randomDouble(void) in randomDouble() function
239 double d = randomDouble(); in testLocale()
Dnmfmtrt.h45 static double randomDouble(double range);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp5721 double randomDouble(const FloatFormat& format, Random& rnd, const Interval& inputRange) in randomDouble() function
5782 return (float)randomDouble(format, rnd, inputRange); in genRandom()
5841 return randomDouble(format, rnd, inputRange); in genRandom()
5905 return deFloat64To16Round(randomDouble(format, rnd, inputRange), DE_ROUNDINGMODE_TO_NEAREST_EVEN); in genRandom()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp5721 double randomDouble(const FloatFormat& format, Random& rnd, const Interval& inputRange) in randomDouble() function
5782 return (float)randomDouble(format, rnd, inputRange); in genRandom()
5841 return randomDouble(format, rnd, inputRange); in genRandom()
5905 return deFloat64To16Round(randomDouble(format, rnd, inputRange), DE_ROUNDINGMODE_TO_NEAREST_EVEN); in genRandom()