| 3231 | } |
| 3232 | |
| 3233 | Rng::Rng() |
| 3234 | : mX(0) |
| 3235 | , mY(0) { |
| 3236 | std::random_device rd; |
| 3237 | std::uniform_int_distribution<uint64_t> dist; |
| 3238 | do { |
| 3239 | mX = dist(rd); |
| 3240 | mY = dist(rd); |
| 3241 | } while (mX == 0 && mY == 0); |
| 3242 | } |
| 3243 | |
| 3244 | ANKERL_NANOBENCH_NO_SANITIZE("integer", "undefined") |
| 3245 | uint64_t splitMix64(uint64_t& state) noexcept { |
nothing calls this directly
no test coverage detected