chaotic-society / theoretica

A C++ math library for scientific computing with a simple and elegant interface.
https://chaotic-society.github.io/theoretica/
GNU Lesser General Public License v3.0
21 stars 4 forks source link

Inspect Xoshiro256++ code for potential errors #44

Closed mattiaisgro closed 2 years ago

mattiaisgro commented 2 years ago

The Xoshiro256++ PRNG generator gives unexpected results when used to generate random real numbers, as it gives twice the number of values to the right of the mean of the interval and is thus unreliable for distribution sampling.