https://issues.apache.org/ooo/show_bug.cgi?id=121421
--- Comment #7 from Pedro Giffuni <[email protected]> --- (In reply to comment #4) ... > > I nosed around a bit more. There are special requirements on the initial > seed to ensure that a maximum period is obtained. There are other > conditions that I was unable to dig into quickly. > In the test program I also notice there are issues with the seed: this is usually based on the time so running the program too fast will generate repeated values. I would think that Calc doesn't have that problem. as srand() is called elsewhere. > [I collided with your proof of concept. I'll look at it now.] I made some mistakes at first and it was just for fun, but it seems to give good results. One issue I see is that it is impossible to get a value of 1. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
