colgreen / Redzen

General purpose C# code library.
Other
94 stars 16 forks source link

Xoshiro256PlusRandom.cs use xoshiro256** too ? #1

Closed achan001 closed 6 years ago

achan001 commented 6 years ago

https://github.com/colgreen/Redzen/blob/master/Redzen/Random/Xoshiro256PlusRandom.cs

Why NextBytes () uses both xoshiro256+ and xoshiro256** ?

ulong result = RotateLeft(s1 5, 7) 9;

colgreen commented 6 years ago

Fixed. Thanks for the feedback.