splitmix64
Declared in <folly/random/splitmix64.h>
constexpr
uint64_t
splitmix64(uint64_t& state) noexcept;
The raw SplitMix64 mixing step: advances state by the SplitMix64 increment and returns the resulting mixed 64-bit value.
This is the primitive used to expand a single seed value into a larger amount of uniformly-distributed state, e.g. when seeding a wider generator.
The mixed 64-bit value.
| Name | Description |
|---|---|
| state | The state to advance; updated in place. |