xoroshiro128++ PRNG.
More...
#include <xoroshiro128plusplus.h>
|
| static constexpr uint64_t | rotl (uint64_t x, int n) |
| |
| static constexpr 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 | ) |
|
|
inlineexplicitnoexcept |
◆ XoRoShiRo128PlusPlus() [2/3]
◆ XoRoShiRo128PlusPlus() [3/3]
◆ ~XoRoShiRo128PlusPlus()
| XoRoShiRo128PlusPlus::~XoRoShiRo128PlusPlus |
( |
| ) |
|
|
default |
◆ entropy()
| static constexpr double XoRoShiRo128PlusPlus::entropy |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ max()
| static constexpr result_type XoRoShiRo128PlusPlus::max |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ min()
| static constexpr result_type XoRoShiRo128PlusPlus::min |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ operator()()
| constexpr result_type XoRoShiRo128PlusPlus::operator() |
( |
| ) |
|
|
inlinenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ rotl()
| static constexpr uint64_t XoRoShiRo128PlusPlus::rotl |
( |
uint64_t |
x, |
|
|
int |
n |
|
) |
| |
|
inlinestaticprivate |
◆ SplitMix64()
| static constexpr uint64_t XoRoShiRo128PlusPlus::SplitMix64 |
( |
uint64_t & |
seedval | ) |
|
|
inlinestaticprivatenoexcept |
◆ 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: