RND() function seems biased: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "Bug Tracker Categories" to "Bug Tracker") |
m (1 revision imported) |
(No difference)
| |
Latest revision as of 03:03, 11 October 2023
Description
The RND() function seems to result in a predictable sequence of numbers despite of changing the seed for each execution of RND().
Example code to demonstrate the bug.
Carl requesting pointers to a better algorithm at the old community forum
Example code to work around the bug.
As a solution, see the Mersenne Twister thread at the old community forum.