Skip to main content
6 events
when toggle format what by license comment
Dec 9, 2023 at 14:57 comment added gnasher729 Not only for debugging. You might have an algorithm that needs the same (random) input at several points, and being able to repeat the sequence means you don’t have to store the number. Let’s say a traffic simulation where you simulate the exact same sequence of cars arriving at a traffic light and you try the best settings for the traffic light.
Oct 27, 2021 at 19:34 comment added Noah Broyles How would anybody else know the exact time you generated your random numbers? Wouldn't using time as a seed be good enough?
Dec 9, 2011 at 16:21 history edited Morons CC BY-SA 3.0
added 166 characters in body
Dec 9, 2011 at 16:21 comment added David Thornley On the plus side, repeatable pseudo-random numbers can be great for debugging.
Dec 9, 2011 at 16:11 history edited Morons CC BY-SA 3.0
added 21 characters in body
Dec 9, 2011 at 16:02 history answered Morons CC BY-SA 3.0