#include <catch.hpp>
Public Types | |
using | result_type = std::uint32_t |
Public Member Functions | |
void | discard (uint64_t skip) |
result_type | operator() () |
void | seed (result_type seed_) |
SimplePcg32 () | |
SimplePcg32 (result_type seed_) | |
Static Public Member Functions | |
static constexpr result_type() | max () |
static constexpr result_type() | min () |
Private Types | |
using | state_type = std::uint64_t |
Private Attributes | |
std::uint64_t | m_state |
Static Private Attributes | |
static const std::uint64_t | s_inc = (0x13ed0cc53f939476ULL << 1ULL) | 1ULL |
Friends | |
bool | operator!= (SimplePcg32 const &lhs, SimplePcg32 const &rhs) |
bool | operator== (SimplePcg32 const &lhs, SimplePcg32 const &rhs) |
|
private |
|
explicit |
|
inlinestatic |
|
inlinestatic |
result_type Catch::SimplePcg32::operator() | ( | ) |
void Catch::SimplePcg32::seed | ( | result_type | seed_ | ) |
|
friend |
|
friend |
|
private |
|
staticprivate |