Searched refs:kBits (Results 1 – 1 of 1) sorted by relevance
33 static const int kBits = std::numeric_limits<double>::digits; in RandDouble() local34 uint64 random_bits = base::RandUint64() & ((GG_UINT64_C(1) << kBits) - 1); in RandDouble()35 double result = ldexp(static_cast<double>(random_bits), -1 * kBits); in RandDouble()