(&mut self, n: u64)
| 71 | x.wrapping_mul(0x2545_F491_4F6C_DD1D) |
| 72 | } |
| 73 | fn below(&mut self, n: u64) -> u64 { |
| 74 | if n == 0 { |
| 75 | 0 |
| 76 | } else { |
| 77 | self.next() % n |
| 78 | } |
| 79 | } |
| 80 | fn boolean(&mut self) -> bool { |
| 81 | self.next() & 1 == 1 |
| 82 | } |
no test coverage detected