Skip to content

Xoshiro256ssSpec

struct Xoshiro256ssSpec

Specification for the Xoshiro256** random engine.

Note

The first 4 fields is inherited from the RandomEngineSpec structure. So this structure can be cast and used as a RandomEngineSpec.

Variables

Name Description
name The name of the random engine.
ctor Constructor function to create an instance of Xoshiro256ss.
next Function to generate the next random number in the engine.
dtor Function to release the memory allocated for data by Xoshiro256ss.
ctor_full Constructor function with a full 256-bit seed.
ctor_seed Constructor function with a single 64-bit seed.
ctor_rd Constructor function with a random device.

Variable Details

name

const char *name

The name of the random engine. In this case, Xoshiro256**.

ctor

random_engine_ctor_fn ctor

Constructor function to create an instance of Xoshiro256ss. xoshiro256ss_ctor

next

random_engine_next_fn next

Function to generate the next random number in the engine. xoshiro256ss_next

dtor

random_engine_data_dtor_fn dtor

Function to release the memory allocated for data by Xoshiro256ss. xoshiro256ss_dtor

ctor_full

xoshiro256ss_ctor_full_fn ctor_full

Constructor function with a full 256-bit seed. xoshiro256ss_ctor_full

ctor_seed

xoshiro256ss_ctor_seed_fn ctor_seed

Constructor function with a single 64-bit seed. xoshiro256ss_ctor_seed

ctor_rd

xoshiro256ss_ctor_rd_fn ctor_rd

Constructor function with a random device. xoshiro256ss_ctor_rd