Advance the state by the golden-ratio increment and return the mixed 64-bit output.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(splitmix64_t), | intent(inout) | :: | self |
function splitmix64_next(self) result(r) !! Advance the state by the golden-ratio increment and return the mixed !! 64-bit output. class(splitmix64_t), intent(inout) :: self integer(int64) :: r self%state = u64_add(self%state, GOLDEN_GAMMA) r = mix64(self%state) end function splitmix64_next