C# (CSharp) Redzen.Numerics XorShiftRandom.Next - 4 exemples trouvés. Ce sont les exemples réels les mieux notés de Redzen.Numerics.XorShiftRandom.Next extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Generates a random int over the range 0 to int.MaxValue-1. MaxValue is not generated in order to remain functionally equivalent to System.Random.Next(). This does slightly eat into some of the performance gain over System.Random, but not much. For better performance see: Call NextInt() for an int over the range 0 to int.MaxValue. Call NextUInt() and cast the result to an int to generate an int over the full Int32 value range including negative values.