Interface
RandomGenerator
:gen
(): numberGenerate a random number in [0-1).
returns A number between 0 and 1.
save
(): stringSave the internal state to a string. Used to allow restoring the exact state of the generator.
returns The state of the generator as string.
load
(data: string): booleanLoad the state of the generator from a string.
seed
(): RNGSeedSeed of the generator.