https://issues.apache.org/ooo/show_bug.cgi?id=121421
orcmid <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #79982|0 |1 is obsolete| | --- Comment #29 from orcmid <[email protected]> --- Created attachment 79984 --> https://issues.apache.org/ooo/attachment.cgi?id=79984&action=edit Improved Generator for testing sets of results 0.02 For completeness, here is an improved standalone test of the Wichmann-Hill 32-bit pseudo-random generator from 2005-2006. Because it is standalone, instead of customized for Calc, there is an snewrandom() function for specifying a seed. Although a random source can be used, this will also provide good separation even with regular seeds (1,2,3,...) or using something with low entropy such as too-recent repetitions of time(NULL). I also made adjustments to stay within ISO/IEC C 1995. There should be no platform dependencies so long as the long type has at least 4 bytes. This may be useful in comparisons as well as testing the basic WH PRG. -- You are receiving this mail because: You are on the CC list for the bug.
