Rand |
Note: This API is now obsolete.
[ObsoleteAttribute("This legacy PRNG algorithm should replaced with a more modern and effective one")] public class RandEcuyerLFSR258 : RandCustomBase
The RandEcuyerLFSR258 type exposes the following members.
Name | Description | |
---|---|---|
RandEcuyerLFSR258 | Initializes a new instance of the RandEcuyerLFSR258 class | |
RandEcuyerLFSR258(Int64, Int64, Int64, Int64, Int64) | Initializes a new instance of the RandEcuyerLFSR258 class |
Name | Description | |
---|---|---|
NextInt64 | (Overrides RandCustomBaseNextInt64) |
See: Tables of Maximally Equidistributed Combined LFSR Generators (PDF).
Long running tests have observed the expected minimum values Next 0 (0x0) from Core 0.000000000027020 and the expected maximum Next 2147483646 (0x7FFFFFFE) from Core 0.999999999997700.
A Core 0.0 is unlikely to be seen because there is a vanishing chance of seeing the limit values of 0x0000000000000000 and 0xFFFFFFFFFFFFFFFF in a flat random distribution of 64 bit values.