logoalt Hacker News

blensortoday at 10:28 AM1 replyview on HN

From what I can see they were trying to generate 16bit integers, so the probability is 1 in 65536 and they were running the test for 11 hours.

You definitely would expect a roughly equal number of 0s as any other of those numbers since it's uniformly distributed. And definitely not 0


Replies

ExoticPearTreetoday at 12:02 PM

> You definitely would expect a roughly equal number of 0s as any other of those numbers since it's uniformly distributed.

How would random numbers be uniformly distributed?

show 6 replies