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