Xoshiro128Plus

Xoshiro128+ Period: 2 ^ 128 - 1 Footprint: 16 bytes

alias Xoshiro128Plus = XoshiroEngine!(uint, XoshiroOpMode.Plus)

Examples

ditto

import std.random : uniform01;

auto rndGen = Xoshiro128Plus(unpredictableSeed);
auto x = uniform01(rndGen);
assert(0 <= x && x <= 1);

Meta