| 12233 | } |
| 12234 | |
| 12235 | void SimplePcg32::discard(uint64_t skip) { |
| 12236 | // We could implement this to run in O(log n) steps, but this |
| 12237 | // should suffice for our use case. |
| 12238 | for (uint64_t s = 0; s < skip; ++s) { |
| 12239 | static_cast<void>((*this)()); |
| 12240 | } |
| 12241 | } |
| 12242 | |
| 12243 | SimplePcg32::result_type SimplePcg32::operator()() { |
| 12244 | // prepare the output value |
nothing calls this directly
no outgoing calls
no test coverage detected