mir-random — Libmir Archive
← Libmir Archive
Dlang.org
XoshiroEngine.opCall
mir
random
engine
xoshiro
XoshiroEngine
Advances the random sequence.
struct
XoshiroEngine
(UIntType, uint nbits, string scrambler, uint A, uint B, uint I, uint R, UIntType S, UIntType T)
@
nogc
nothrow pure @
safe
UIntType
opCall
()
(
)
if
(
(
is
(
UIntType
==
uint
) ||
is
(
UIntType
==
ulong
)
)
&&
"**" ==
scrambler
&&
(
UIntType.sizeof
* 8 * 4 ==
nbits
||
UIntType.sizeof
* 8 * 8 ==
nbits
)
)
Return Value
Type:
UIntType
A uniformly-distributed integer in the closed range
[0, UIntType.max]
.
mir
random
engine
xoshiro
XoshiroEngine
constructors
this
functions
jump
opCall
popFront
seed
manifest constants
isRandomEngine
properties
front
save
variables
empty
isUniformRandom
max
min
s
Advances the random sequence.