The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
XorshiftStarEngine.this
mir
random
engine
xorshift
XorshiftStarEngine
Constructs a
XorshiftStarEngine
generator seeded with
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
variables
max
preferHighBits
Constructs a XorshiftStarEngine generator seeded with x0.