| 18 | } |
| 19 | |
| 20 | static inline uint32_t splitmix64_next32(splitmix64_state *state) { |
| 21 | uint64_t next; |
| 22 | if (state->has_uint32) { |
| 23 | state->has_uint32 = 0; |
| 24 | return state->uinteger; |
| 25 | } |
| 26 | next = splitmix64_next64(state); |
| 27 | state->has_uint32 = 1; |
| 28 | state->uinteger = (uint32_t)(next >> 32); |
| 29 | return (uint32_t)(next & 0xffffffff); |
| 30 | } |
nothing calls this directly
no test coverage detected