The 63 bit stream id. The highest bit is ignored.
- Namespace
- RandN
.Rngs - Containing Type
- Pcg32
.Seed - Property Type
- ulong
Syntax
public ulong Stream { get; }
Remarks
Our implementation is consistent with the reference PCG implementation, where the highest bit is discarded. However, the some implementations discard the lowest bit instead (such as Rust's Rand) which results in surprising behavior for someone using incremental stream ids. A stream id such as this can be right shifted once if identical results are desired.
Value
Type | Description |
---|---|
ulong |