gKit2 light
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CRNG64 Struct Reference

Public Types

typedef unsigned result_type
 

Public Member Functions

 CRNG64 (const uint64_t s)
 
 CRNG64 (const unsigned hi, const unsigned lo=0x40ba6a95)
 
void seed (const unsigned hi, const unsigned lo=0x40ba6a95)
 
void seed64 (const uint64_t s)
 
CRNG64index (const uint64_t i)
 
unsigned sample ()
 
unsigned sample_range (const unsigned range)
 
unsigned operator() ()
 
unsigned hash (uint64_t v)
 

Static Public Member Functions

static constexpr unsigned min ()
 
static constexpr unsigned max ()
 

Public Attributes

uint64_t n
 
uint64_t key
 

Detailed Description

Definition at line 60 of file crng.h.


The documentation for this struct was generated from the following file: