/// <summary>Returns a random floating-point number between 0.0 and 1.0.</summary> /// <returns>A double-precision floating point number that is greater than or equal to 0.0, and less than 1.0.</returns> protected virtual double Sample() { double result = _impl.Sample(); AssertInRange(result); return(result); }
/// <summary>Returns a random floating-point number between 0.0 and 1.0.</summary> /// <returns>A double-precision floating point number that is greater than or equal to 0.0, and less than 1.0.</returns> protected virtual double Sample() => _impl.Sample();