[VA] SRC #017 - April 1st, 2024 Spring Special
|
04-04-2024, 09:03 PM
(This post was last modified: 04-04-2024 09:09 PM by J-F Garnier.)
Post: #7
|
|||
|
|||
RE: [VA] SRC #017 - April 1st, 2024 Spring Special
(04-01-2024 06:59 PM)Valentin Albillo Wrote: Two consecutive RNDs cannot be exactly equal or the generation of subsequent RNDs would be stuck in a loop. It's not correct. This would assume that the next RND values are fully determined by the last RND value, and this is wrong. The RND value is determined by the internal seed, which is stored with 15 digits. Or, in other words,we can't predict the next RND value from the last one (well, the possibilities for the next RND are limited). To illustrate it, we can get the same RND value in two different sequences: >RANDOMIZE .636248123586 >RND, RND, RND .14159265359 .494478890124 .825547412541 >RANDOMIZE .90365957958 >RND, RND, RND, RND 2.71250347884E-2 .14159265359 .416751399163 .130703385847 (done on a 71B, but as Valentin noted, the results are the same for many/all Saturn-based machines) Quote:But how close can two consecutive RNDs actually be ? As a consequence of the above analysis, it could be possible to get two consecutive RND values that are equal. Matter of fact, I have one example. Can you find it? :-) J-F |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 8 Guest(s)