Home
last modified time | relevance | path

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

/external/chromium/base/
Drand_util.cc33 static const int kBits = std::numeric_limits<double>::digits; in RandDouble() local
34 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()