Skip to content

SplitMix64Rng

Namespace Nfty.Core.Generation in assembly Nfty.Ticket.

public sealed class SplitMix64Rng : IRng

SplitMix64. Small, fast, and — the reason it is here — fully specified, so the same seed yields the same sequence on every platform and runtime.

Constructors

SplitMix64Rng(ulong)

public SplitMix64Rng(ulong seed);

Seeds the generator.

Parameters

Methods

NextDouble()

public double NextDouble();

The next sample.

Returns. A value in [0,1).