History of Idiom 69 > diff from v38 to v39
Edit summary for version 39 by ffleader:
[Rust] The previous version needs the seed as an array. Work, but overly complicated. Change to only use a number as the seed.
[Rust] The previous version needs the seed as an array. Work, but overly complicated. Change to only use a number as the seed.
↷
Version 38
2020-10-08, 12:44:14
Version 39
2020-10-29, 22:23:10
Idiom #69 Seed random generator
Use seed s to initialize a random generator.
If s is constant, the generator output will be the same each time the program runs. If s is based on the current value of the system clock, the generator output will be different each time.
Idiom #69 Seed random generator
Use seed s to initialize a random generator.
If s is constant, the generator output will be the same each time the program runs. If s is based on the current value of the system clock, the generator output will be different each time.