Skip to content

function random_init(u64, u64) random

Initializes the random number generator with two 64-bit seed values.

This overload combines two 64-bit unsigned integers into four 32-bit lanes for initializing the internal 128-bit state.

Parameters
x0 First 64-bit seed value.
x1 Second 64-bit seed value.
Returns
A new random_state initialized with the provided seeds.

Defined at base/random_bits.hpp:141