mir-random ~master (2021-09-01T06:24:04Z)
Dub
Repo
XorshiftStarEngine.this
mir
random
engine
xorshift
XorshiftStarEngine
Constructs a
XorshiftStarEngine
generator seeded with
x0
.
this
()
this
(StateUInt x0)
struct
XorshiftStarEngine
(StateUInt, uint nbits, int sa, int sb, int sc, StateUInt multiplier, OutputUInt = StateUInt)
@
safe
pure nothrow @
nogc
this
()
(
StateUInt
x0
)
if
(
isUnsigned
!
StateUInt
&&
isUnsigned
!
OutputUInt
&&
OutputUInt.sizeof
<=
StateUInt.sizeof
&&
!
(
sa
> 0 &&
sb
> 0
&&
sc
> 0
)
)
Meta
Source
See Implementation
mir
random
engine
xorshift
XorshiftStarEngine
constructors
this
functions
jump
opCall
manifest constants
isRandomEngine
postblits
this(this)
variables
_isVoidInitOkay
max
preferHighBits
Constructs a XorshiftStarEngine generator seeded with x0.