https://issues.apache.org/ooo/show_bug.cgi?id=121421
--- Comment #3 from Pedro Giffuni <[email protected]> --- Created attachment 79968 --> https://issues.apache.org/ooo/attachment.cgi?id=79968&action=edit sample implementation I made a proof-of-concept implementation of the newer MS-Office method in C. Getting it right in C involved some subtle math tricks due to differences with FORTRAN but it looks like it is well behaved. To try it just cc -o newrand newrand.c ./newrand FWIW, the standard rand() function in FreeBSD is not good at all, the results are much better with random(). Still even when using rand() the results from this algorithm look good. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
