Exemplo n.º 1
0
        /// <summary>Returns a random floating-point number that is greater than or equal to 0.0, and less than 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>
        public virtual double NextDouble()
        {
            double result = _impl.NextDouble();

            AssertInRange(result);
            return(result);
        }
Exemplo n.º 2
0
 /// <summary>Returns a random floating-point number that is greater than or equal to 0.0, and less than 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>
 public virtual double NextDouble() => _impl.NextDouble();