Hello,
I am using GetRandom() to fill a histogram with a pre-defined distribution, Lorenzian, or Gausian in the attached example.
test.cpp (5.3 KB)
The results are unexpected.
1.) For even center values and large widths it is sort of fine, see h1
2.) If the center value is odd the resulting distribution is wrong, see h2
3.) If the width is small, wrong distribution again, see h3
Please note that I am using 5.28 for compatibility reasons and this may not be an issue in later versions.