Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Marsaglia multiply-with-carry generator, period ca 2^255. More...
#include "randomhash.hh"
Public Member Functions | |
Mwc256 | clone192 () |
Mwc256 | clone128 () |
uint64_t | next () |
void | seed () |
void | seed (uint64_t x, uint64_t y=0, uint64_t z=0, uint64_t c=1) |
Mwc256 (uint64_t x, uint64_t y=0, uint64_t z=0, uint64_t c=1) | |
Mwc256 (const Mwc256 &)=default | |
Mwc256 & | operator= (const Mwc256 &)=default |
Static Public Attributes | |
static constexpr uint64_t | MWC_A3 |
Marsaglia multiply-with-carry generator, period ca 2^255.
Definition at line 37 of file randomhash.hh.
Definition at line 699 of file randomhash.cc.
|
explicit |
Definition at line 704 of file randomhash.cc.
Mwc256 Ase::Mwc256::clone128 | ( | ) |
Definition at line 805 of file randomhash.cc.
Mwc256 Ase::Mwc256::clone192 | ( | ) |
Definition at line 819 of file randomhash.cc.
uint64_t Ase::Mwc256::next | ( | ) |
Definition at line 54 of file randomhash.hh.
void Ase::Mwc256::seed | ( | ) |
Definition at line 710 of file randomhash.cc.
Definition at line 716 of file randomhash.cc.
|
staticconstexpr |
Definition at line 41 of file randomhash.hh.