https://issues.apache.org/ooo/show_bug.cgi?id=121421
--- Comment #25 from orcmid <[email protected]> --- (In reply to comment #24) > Created attachment 79978 [details] > Rough implementation (WIP) > > Still more cleanups. For the initialization, you can try something like this: long SimpleSeeder(long prev) { return (((69069L * prev) & 0x3FFFFFFF) | 1; /* not all that random but nonzero and less than the moduli, all up near 0x7FFFFFFF */ } ix = SimpleSeeder((long) time()); iy = SimpleSeeder(ix); iz = SimpleSeeder(iy); it = SimpleSeeder(iz); Not sure how you need to fit this into an initialization of static variables. I looked around for better initial generators and gave up for now. This hack should work for a while. -- You are receiving this mail because: You are on the CC list for the bug.
