‹ BackHN Continuity

Thread

AMD's random number generator can't generate a 0?

288 points · 220 comments · BruceEel

  1. ExoticPearTree · · focus · HN ↗
    The probability of generating a zero is incredibly low if you use the normal distribution curve.

    So it is not necessarily that it doesn't generate zero, they did not run enough times to increase the probability of actually generating a zero.

    1. zygentoma · · focus · HN ↗
      This also seems to happen for 16 and 32 bit numbers, so you should be able to see zeros easily.

      They also write:

      > Running the same programs on an Intel processor, and the 0's are there with no problem.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.