|
gKit2 light
|
Public Types | |
| typedef unsigned | result_type |
Public Member Functions | |
| PCG32 (const uint64_t s, const uint64_t ss=b) | |
| void | seed (const uint64_t s, const uint64_t ss=b) |
| PCG32 & | index (const uint64_t i) |
| unsigned | sample () |
| unsigned | sample_range (const unsigned range) |
| unsigned | operator() () |
Static Public Member Functions | |
| static constexpr unsigned | min () |
| static constexpr unsigned | max () |
Public Attributes | |
| uint64_t | x |
| uint64_t | x0 |
| uint64_t | key |
Static Public Attributes | |
| static constexpr uint64_t | a = 0x5851f42d4c957f2d |
| static constexpr uint64_t | b = 0xda3e39cb94b95bdb |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 26 of file pcg.h.
|
inline |
|
inline |
Definition at line 64 of file pcg.h.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |