#635 closed bug (fixed)
random() gives constant output
Reported by: | steenpass | Owned by: | somebody |
---|---|---|---|
Priority: | minor | Milestone: | 4-1-0 and higher |
Component: | singular-kernel | Version: | 4-0-0 |
Keywords: | random | Cc: |
Description
Of course, one can never be sure, but I would say that, with a very high probability, this is NOT random:
> random(-2147483647, 2147483647); -2147483647 > random(-2147483647, 2147483647); -2147483647 > random(-2147483647, 2147483647); -2147483647 > random(-2147483647, 2147483647); -2147483647 > random(-2147483647, 2147483647); -2147483647
See also: http://xkcd.com/221/
Change History (4)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Cf. the numbers chosen on July 30, 2014:
https://www.lotto.de/de/ergebnisse/lotto-6aus49/archiv.html
comment:3 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed: added test, max-min is limited by 231
Note: See
TracTickets for help on using
tickets.
quick: if you had to pick pairwise different 6 numbers between 1 and 49, what would they be?