Skip to main content

Timeline for Rand5() to Rand7()

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Feb 1, 2013 at 2:35 comment added gnibbler primo is right. adding random numbers is generally going to skew the probabilities toward the middle values.
Jan 28, 2013 at 8:54 history edited primo CC BY-SA 3.0
formatting
Jan 28, 2013 at 8:52 comment added primo Assuming integer division, this function has the following distribution: [2/25, 4/25, 5/25, 5/25, 5/25, 3/25, 1/25]. Not exactly uniform.
Jan 26, 2013 at 20:50 comment added kojiro Whatever language that is, does its / operator do integer math? What happens to your results if it does decimal, floating-point, or integer math?
S Jan 26, 2013 at 19:18 review Low quality posts
Jan 28, 2013 at 8:54
S Jan 26, 2013 at 19:18 review Late answers
Jan 31, 2013 at 10:31
S Jan 26, 2013 at 19:18 review First posts
Jan 31, 2013 at 10:31
Jan 26, 2013 at 19:00 history answered sree CC BY-SA 3.0