aboutsummaryrefslogtreecommitdiff
path: root/std/rand_test.zig
AgeCommit message (Collapse)Author
2018-03-30Rewrite Rand functionsMarc Tiehuis
We now use a generic Rand structure which abstracts the core functions from the backing engine. The old Mersenne Twister engine is removed and replaced instead with three alternatives: - Pcg32 - Xoroshiro128+ - Isaac64 These should provide sufficient coverage for most purposes, including a CSPRNG using Isaac64. Consumers of the library that do not care about the actual engine implementation should use DefaultPrng and DefaultCsprng.
2016-07-28std: add tests for mt32 and mt64Andrew Kelley