class
<random>

std::ranlux24_base

typedef subtract_with_carry_engine <uint_fast32_t, 24, 10, 24> ranlux24_base;
Ranlux 24 base generator
A subtract-with-carry pseudo-random generator of 24-bit numbers, generally used as the base engine for the ranlux24 generator.

It is an instantiation of the subtract_with_carry_engine with the following template parameters:
parameternamevalue
UIntTyperesult typeuint_fast32_t
wword size24
sshort lag10
rlong lag24

Member types

The following alias is a member type of ranlux24_base:

member typedefinitionnotes
result_typeuint_fast32_tThe type of the numbers generated.

Member functions

As a subtract_with_carry_engine type, it has the following member functions:

Non-member functions

As a subtract_with_carry_engine type, the following operator overloads may be applied to it:

Member constexpr constants

member constantdefinitionnotes
word_size24The number of bits of each word in the state sequence.
short_lag10The short lag value.
long_lag24The long lag value.
default_seed19780503uThe default seed used on construction or seeding.

See also