Random number generator (included): Difference between revisions

→‎{{header|ZX Spectrum Basic}}: slightly more detail; can't link as IE won't show the CAPTCHA and chrome won't store the cookie :/
(→‎{{header|Rust}}: add mention of Xorshift128 passes)
(→‎{{header|ZX Spectrum Basic}}: slightly more detail; can't link as IE won't show the CAPTCHA and chrome won't store the cookie :/)
Line 833:
=={{header|ZX Spectrum Basic}}==
 
The ZX Spectrum uses a pseudorandomPark-Miller (also called a Lehmer) number generator that derivesproduces itsa numbersnumber between 0 and nearly 1 from a setsequence; ofthe valuesRANDOMIZE storedcommand can leap to a new entry in the systemsequence. Multiply the output of RND by 65536 to see the sequence more ROMclearly. The random numbers produced will repeat after 6553565536 iterations.
 
 
77

edits