On Wed, May 19, 2021 at 11:34 AM Thomas Munro <thomas.mu...@gmail.com> wrote: > I don't understand any of this stuff at all, but I added a bunch of > printfs and worked out that the first point its local variables > diverge is here: > > /* Random offset */ > r = (uint64) getrand(&random_state2, 0, size - 1);
Forgot to post the actual values: r = 2563421694876090368 r = 2563421694876090365 Smells a bit like a precision problem in the workings of pg_erand48(), but as soon as I saw floating point numbers I closed my laptop and ran for the door.