예제 #1
0
 /// <summary>
 /// Return a random value in the range [min,max]
 /// </summary>
 /// <param name="min">Inclusive minimum of range</param>
 /// <param name="max">Inclusive maximum of range</param>
 /// <returns></returns>
 public virtual ulong Inclusive(ulong min, ulong max)
 {
     return(RandomUInt64.Inclusive(Rng, min, max));;
 }
예제 #2
0
 /// <summary>
 /// Return a random integer in the range (min,max)
 /// </summary>
 /// <param name="min">Exclusive minimum of range</param>
 /// <param name="max">Exclusive maximum of range</param>
 /// <returns></returns>
 public virtual ulong Exclusive(ulong min, ulong max) => RandomUInt64.Exclusive(Rng, min, max);