RandomGenerator:getSeed

Returns the seed used to initialize the RandomGenerator.

low, high = RandomGenerator:getSeed()

Arguments

None

Returns

NameTypeDescription
lownumberThe lower 32 bits of the seed.
highnumberThe upper 32 bits of the seed.

Notes

Since the seed is a 64 bit integer, each 32 bits of the seed are returned separately to avoid precision issues.

See also