Home
last modified time | relevance | path

Searched refs:NextDouble (Results 1 – 9 of 9) sorted by relevance

/external/v8/test/cctest/
Dtest-double.cc218 TEST(NextDouble) { in TEST() argument
219 CHECK_EQ(4e-324, Double(0.0).NextDouble()); in TEST()
220 CHECK_EQ(0.0, Double(-0.0).NextDouble()); in TEST()
221 CHECK_EQ(-0.0, Double(-4e-324).NextDouble()); in TEST()
223 Double d1(d0.NextDouble()); in TEST()
224 Double d2(d1.NextDouble()); in TEST()
227 CHECK_EQ(4e-324, d2.NextDouble()); in TEST()
228 CHECK_EQ(-1.7976931348623157e308, Double(-V8_INFINITY).NextDouble()); in TEST()
230 Double(V8_2PART_UINT64_C(0x7fefffff, ffffffff)).NextDouble()); in TEST()
Dtest-assembler-mips.cc3287 double value = isolate->random_number_generator()->NextDouble(); in TEST()
Dtest-assembler-mips64.cc3357 double value = isolate->random_number_generator()->NextDouble(); in TEST()
/external/v8/test/unittests/base/utils/
Drandom-number-generator-unittest.cc41 double d = rng.NextDouble(); in TEST_P()
/external/v8/src/base/utils/
Drandom-number-generator.h75 double NextDouble() WARN_UNUSED_RESULT;
Drandom-number-generator.cc99 double RandomNumberGenerator::NextDouble() { in NextDouble() function in v8::base::RandomNumberGenerator
/external/v8/src/
Dstrtod.cc386 return Double(guess).NextDouble(); in BignumStrtod()
391 return Double(guess).NextDouble(); in BignumStrtod()
Ddouble.h65 double NextDouble() const { in NextDouble() function
/external/v8/test/unittests/compiler/
Dtyper-unittest.cc111 double result = nearbyint(min + (max - min) * rng_->NextDouble()); in RandomInt()