2 ms·
Can someone explain to me why there is such a large discrepancy for the different sides for math.random()? seems fairly large
by ProgrammerMatt 9y ago
Can someone explain to me why there is such a large discrepancy for the different sides for math.random()? seems fairly large
- xori 9y agoIt's actually not that bad. The graph just emphasises the subtle differences. The worst one (a 10) was rolled 696 times extra over the expected number of 100,000 rolls. That's like 0.3% deviation.
- marcofiset 9y agoLooking at the Y axis scale shows that the variation is not as much as it seems.