(&mut self)
| 63 | .wrapping_add(0x1234_5678)) |
| 64 | } |
| 65 | fn next(&mut self) -> u64 { |
| 66 | let mut x = self.0; |
| 67 | x ^= x >> 12; |
| 68 | x ^= x << 25; |
| 69 | x ^= x >> 27; |
| 70 | self.0 = x; |
| 71 | x.wrapping_mul(0x2545_F491_4F6C_DD1D) |
| 72 | } |
| 73 | fn below(&mut self, n: u64) -> u64 { |
| 74 | if n == 0 { |
| 75 | 0 |