| 12237 | } |
| 12238 | |
| 12239 | void SimplePcg32::seed(result_type seed_) { |
| 12240 | m_state = 0; |
| 12241 | (*this)(); |
| 12242 | m_state += seed_; |
| 12243 | (*this)(); |
| 12244 | } |
| 12245 | |
| 12246 | void SimplePcg32::discard(uint64_t skip) { |
| 12247 | // We could implement this to run in O(log n) steps, but this |