Talk:Pseudo-random numbers/Xorshift star: Difference between revisions

Line 11:
u64 state /* Must be seeded to non-zero initial value */
yet most of the entries not only ''allow'' a seed of 0, but in fact ''default'' to a seed of 0. If you're expecting good randomness with a seed of 0, you're gonna have a bad time. I hesitate to mark them all as wrong as that is just a comment in the pseudocode, not a specific task requirement, but I wonder if it should be? (The Raku entry specifically disallows zero (and negative numbers) as a seed value) --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 18:57, 13 August 2020 (UTC)
 
: I see your point. It ''is'' written as a comment, but the task states what seed values to use to give expected output, so I'd leave it myself. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 11:05, 6 September 2020 (UTC)
Anonymous user