xoroshiro128++ PRNG.
More...
#include <xoroshiro128plusplus.h>
|
constexpr static uint64_t | rotl (uint64_t x, int n) |
|
constexpr static uint64_t | SplitMix64 (uint64_t &seedval) noexcept |
|
xoroshiro128++ PRNG.
Extremely fast, not appropriate for cryptographic purposes.
Memory footprint is 128bit, period is 2^128 - 1. This class is not thread-safe.
Reference implementation available at https://prng.di.unimi.it/xoroshiro128plusplus.c See https://prng.di.unimi.it/
Definition at line 19 of file xoroshiro128plusplus.h.
◆ result_type
◆ XoRoShiRo128PlusPlus() [1/3]
constexpr XoRoShiRo128PlusPlus::XoRoShiRo128PlusPlus |
( |
uint64_t |
seedval | ) |
|
|
inlineexplicitconstexprnoexcept |
◆ XoRoShiRo128PlusPlus() [2/3]
◆ XoRoShiRo128PlusPlus() [3/3]
◆ ~XoRoShiRo128PlusPlus()
XoRoShiRo128PlusPlus::~XoRoShiRo128PlusPlus |
( |
| ) |
|
|
default |
◆ entropy()
static constexpr double XoRoShiRo128PlusPlus::entropy |
( |
| ) |
|
|
inlinestaticconstexprnoexcept |
◆ max()
static constexpr result_type XoRoShiRo128PlusPlus::max |
( |
| ) |
|
|
inlinestaticconstexprnoexcept |
◆ min()
static constexpr result_type XoRoShiRo128PlusPlus::min |
( |
| ) |
|
|
inlinestaticconstexprnoexcept |
◆ operator()()
constexpr result_type XoRoShiRo128PlusPlus::operator() |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ rotl()
constexpr static uint64_t XoRoShiRo128PlusPlus::rotl |
( |
uint64_t |
x, |
|
|
int |
n |
|
) |
| |
|
inlinestaticconstexprprivate |
◆ SplitMix64()
constexpr static uint64_t XoRoShiRo128PlusPlus::SplitMix64 |
( |
uint64_t & |
seedval | ) |
|
|
inlinestaticconstexprprivatenoexcept |
◆ m_s0
uint64_t XoRoShiRo128PlusPlus::m_s0 |
|
private |
◆ m_s1
uint64_t XoRoShiRo128PlusPlus::m_s1 |
|
private |
The documentation for this class was generated from the following file: