Dlang Random Number Generators
- Does not depend on DRuntime (Better C concept)
opCall
API instead of range interface is used (similar to C++)- No default and copy constructors are allowed for generators.
- 64-bit Mt19937 initialization is fixed
- 64-bit Mt19937 is default for 64-bit targets
unpredictableSeed
has not state, returnsulong
@URNG
UDA is used for for RNGs instead of a enum flag.min
andmax
proporties was removed. Generators must always generate uniformly all set of bits.- Any unsigned generators are allowed.
LinearCongruentialEngine
was removed.- [WIP] additional Xorshift generators
[WIP]
[WIP]
[WIP]