File fastrng.hpp

class fastrng
#include <fastrng.hpp>

Public Types

typedef uint64_t result_type

Public Functions

inline fastrng()
inline fastrng(uint64_t x)
inline void seed(uint32_t x)
inline void seed(uint64_t x)
inline uint64_t operator()()
inline void discard(int n)

Public Static Functions

static inline constexpr uint64_t min()
static inline constexpr uint64_t max()

Private Members

uint64_t S0
uint64_t S1

Private Static Functions

static inline uint64_t splitmix64(uint64_t &x)
static inline uint32_t splitmix32(uint32_t &x)