Shared functionality

class randomgen.common.Interface(state_address: int, state: int, next_uint64: int, next_uint32: int, next_double: int, bit_generator: int)

Interface for interacting with a BitGenerator using ctypes or cffi

state_address

The state memoty address

Type:

int

state

Void pointer to the state struct

Type:

int

next_uint64

Function type the returns psuedo-random uint64 values

Type:

int

next_uint32

Function type the returns psuedo-random uint32 values

Type:

int

next_double

Function type the returns psuedo-random double values

Type:

int

bit_generator

Void pointer to the bit generator struct

Type:

int