in reply to (d4vis)Re:Re: Genuine Quantum Randomness
in thread Genuine Quantum Randomness

Hmm, it looks like that doesn't apply to the ActiveState build. Looking through the source, it just calls rand(), which happens to be

holdrand = holdrand * 214013L + 2531011L) >> 16) & 0x7fff)

which I thought was brain-dead but seems to pass tests for randomness including chi-square. Owell.

Replies are listed 'Best First'.
(tye)Re: Genuine Quantum Randomness
by tye (Sage) on Jun 02, 2001 at 00:31 UTC

    Well, in some ways it does apply. It is just that Win32 doesn't have a Bourne shell so the Configure step has to be done "by hand" by porters. The porters picked the first of drand48(), random(), and rand() that was available. For Win32, the answer is rand().

            - tye (but my friends call me "Tye")
      Sorry, what I meant is that my build doesn't include an improved random number generator.