Skip to content

Add .save property to XoshiroEngine, Xoroshiro128Plus, PermutedCongruentialEngine, and PhobosRandom wrapper

Latest
Compare
Choose a tag to compare
@n8sh n8sh released this 23 Mar 21:29
· 6 commits to master since this release
01088a5

Makes mir.random PRNGs that satisfy Phobos std.random.isUniformRNG also satisfy std.range.primitives.isForwardRange. Affected PRNGs and templates:

Prior to this the only mir.random PRNGs that implemented .save were mir.random.engine.splitmix.SplitMix64 and Splittable64.