RandomGenerator:getSeed

Edit

Returns the seed used to initialize the RandomGenerator.

low, high = RandomGenerator:getSeed()

Arguments

None

Returns

NameTypeDescription
lownumber The lower 32 bits of the seed.
highnumber The 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