cxxomfort
rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Pseudo-RNG generator. More...
Public Types | |
typedef uint64_t | result_type |
the type of the integer generated | |
Public Member Functions | |
CXXO_CONSTEXPR | splitmix64 (uint64_t useed) CXXO_NOEXCEPTNOTHROW |
Sets up a PRNG with a given seed . | |
void | seed (uint64_t s) CXXO_NOEXCEPTNOTHROW |
Changes the seed of the current object. | |
result_type | operator() () CXXO_NOEXCEPTNOTHROW |
Obtains a pseudo-random number from the generator. | |
void | discard (unsigned long long z) CXXO_NOEXCEPTNOTHROW |
Discards z "steps" from the generator. | |
Pseudo-RNG generator.