std::math::random

Public

Types

NameDescription
Msws64Random
Msws32Random
Msws16Random
Msws128Random
Msws8Random

Functions

NameDescription
random::@int_to_long
random::@long_to_int128
random::randGet a default random value between 0 and range (not including range)
random::nextGet the next value between 0 and range (not including range).
random::seeder
random::next_long
random::set_seed
random::seed_entropySeed the random with some best effort entropy.
random::next_short
random::next_byte
random::next_int128
random::entropy
random::@short_to_int
random::srandSeed the default random function.
random::rnd
random::make_seed
random::next_floatGet a float between 0 and 1.0, not including 1.0.
random::next_boolGet 'true' or 'false'
random::seed
random::next_int
random::@random_value_to_bytes
random::is_random
random::next_bytes
random::rand_in_rangeGet a random in the range, both included.
random::next_doubleGet a double between 0 and 1.0, not including 1.0.
random::next_in_rangeGet a random in the range [min, max], both included.
random::@char_to_short

Private

Functions

NameDescription
random::init_default_random

Globals

NameDescription
default_random
default_random_initialized