Generating random numbers
Types
-
Represents a Pseudo-random number generator.
Functions
-
Ref< IRandom > new_random_number_generator(u32 initial_seed)
Creates one new random number generator.
-
Generates one random 32-bit unsigned integer.
-
Generates one random 32-bit signed integer.
-
Generates one random 64-bit unsigned integer.
-
Generates one random 64-bit signed integer.
-
f32 random_f32(f32 range_begin, f32 range_end)
Generates one random 32-bit floating-point number.
-
f64 random_f64(f64 range_begin, f64 range_end)
Generates one random 64-bit floating-point number.
-
Generates one random GUID (Globally Unique Identifier).