Enlighten Us GNDT Knower
Given in the GNDT
” Comment:
(odd, odd, odd, odd, even? DICE8589934592:1269931393 DICE8589934592:7369307947 DICE8589934592:5182583091 DICE8589934592:6682398381 DICE8589934592:5434761100 )” and a bunch of subsequent rolls which are all odd x 4 and even, something screwy seems to be up with the GNDT dice.
What did you find out pokes?
Sphinx:
I found this (http://stackoverflow.com/a/35952792) stackoverflow thread related to perl’s random generator.
Apparently, when generating numbers with more than 32 bits, the lower bits are predictable.
So in case of pokes experiments, with 2^33, the parity of the numbers is predictable.
The value of the number apart from that isn’t, so I’m not sure how relevant it is. It’s basically just an issue if you roll huge dice, but the result depends on the least significant bits of the rolled nunber. And in that case why not roll a lower number in the first place?
A fix would be to limit dicerolls to 2^32, and do multiple if needed.