| 163 | } |
| 164 | |
| 165 | static inline void pcg_setseq_128_step_r(pcg_state_setseq_128 *rng) { |
| 166 | rng->state = pcg128_add(pcg128_mult(rng->state, PCG_DEFAULT_MULTIPLIER_128), |
| 167 | rng->inc); |
| 168 | } |
| 169 | |
| 170 | static inline uint64_t pcg_output_xsl_rr_128_64(pcg128_t state) { |
| 171 | return pcg_rotr_64(state.high ^ state.low, state.high >> 58u); |
no test coverage detected