Skip to content

function gen_random_range(T, T) random

template <typename T, index_t Dims = 1>
KFR_FUNCTION expression_random_range<T, Dims> gen_random_range(T min, T max)

Returns expression that produces random values in [min, max) using cycle counter entropy

Defined at base/random.hpp:257