Searched refs:random_bits (Results 1 – 2 of 2) sorted by relevance
40 uint64 random_bits = bits & ((GG_UINT64_C(1) << kBits) - 1); in BitsToOpenEndedUnitInterval() local41 double result = ldexp(static_cast<double>(random_bits), -1 * kBits); in BitsToOpenEndedUnitInterval()
98 const uint64* random_bits = reinterpret_cast<uint64*>(&sha1_hash[0]); in GetPreReadPopulationAndGroup() local101 *population = base::BitsToOpenEndedUnitInterval(random_bits[0]); in GetPreReadPopulationAndGroup()102 *group = base::BitsToOpenEndedUnitInterval(random_bits[1]); in GetPreReadPopulationAndGroup()