Skip to content

function random_init(u32, u32, u32, u32) random

Initializes the random number generator with four 32-bit seed values.

This overload allows precise seeding of the internal 128-bit state using four 32-bit unsigned integers.

Parameters
x0 First 32-bit seed value.
x1 Second 32-bit seed value.
x2 Third 32-bit seed value.
x3 Fourth 32-bit seed value.
Returns
A new random_state initialized with the provided seeds.

Defined at base/random_bits.hpp:123