Re: Quasi-True Random




Loop until *WHAT* is 1000000?

Loop until *1000000 pseudo random numbers*

What is "CONDITION"?

Condition is:

If the pseudo random number generated is > 0.999 ...

The seed is a key independent from the clock.

Better write, the pseudo code is:

GIVE A SEED (KEY)
START THE CLOCK WITH ZERO
DO
MAKE A PSEUDO RANDOM NUMBER (0,1)
IF PSEUDO RANDOM NUMBER > 0.999 THEN GET A NEW SEED FROM THE CLOCK
LOOP UNTIL 1000000 PSEUDO RANDOM NUMBERS
.