Searched refs:rand_u64 (Results 1 – 3 of 3) sorted by relevance
189 let _ = rng.rand_u64(); in new_inc()191 let _ = rng.rand_u64(); in new_inc()211 pub fn rand_u64(&mut self) -> u64 { in rand_u64() method223 self.rand_u64() as i64 in rand_i64()231 let mut u = self.rand_u64(); in rand_float()248 let mut m: u128 = u128::from(self.rand_u64()) * u128::from(s); in rand_range()255 m = u128::from(self.rand_u64()) * u128::from(s); in rand_range()303 assert_eq!(r1.rand_u64(), r2.next_u64()); in test_rand64_vs_randomize()314 assert_eq!(r1.rand_u64(), r2.next_u64()); in test_rand64_vs_randomize()375 let i1 = r1.rand_u64(); in test_float64()[all …]
41 pub fn rand_u64() -> u64 { in rand_u64() function53 let mut r = rand_u64(); in rand_u64_uniform()56 r = rand_u64(); in rand_u64_uniform()
18 let seed = ((r.rand_u64() as u128) << 64) | (r.rand_u64() as u128); in new_rng()