- Robert Kern
<[email protected]>
This is a pure C implementation of the PCG64
member of the PCG family of pseudorandom number generators. 128-bit arithmetic
is emulated when a suitable uint128_t
type is not available. Settable streams
and jumpahead are implemented.
This is not necessarily production-quality code. It's mostly presented here in the interest of sharing for others to take on.
Available under either the Apache v2 license or MIT license.
- MSVC portability
#ifdef
ery - Real test vectors verified against upstream