Search results for query: *

  1. C

    Rnd doesn't seem truly random when debugging

    j, The probability of 11 coming back randomly from 16 items (1 thru 16) 5 times out of 60 is 1/16 * 1/16 * 1/16 * 1/16 * 1/16. * (15/16^55), which is an outstandingly small number. I used 16! to simplify things. By the way, the intellisense doc for Random.Next(nLowerBound, nUpperBound)...
  2. C

    Rnd doesn't seem truly random when debugging

    Thanks, Guys All, Thanks for the responses. As far as Randomize and rnd() not being perfectly random, was fully aware of that, but when choosing integers from 1 to 16 and 11 comes up 5 times out of 60 (8.3%) when 16! is just a huge number is a little ridiculous, don't you think? Read the...
  3. C

    Rnd doesn't seem truly random when debugging

    All, I am working on a project that uses a lot of randomization, but when I run the app in debug mode, the returns I am getting are not truly random (statistically proven by observation and recording/comparing results.) Is this just a quirk of the use of pointers in the IDE or am I missing...
Back
Top