I am writing a program which write statistical tests in Delphi (must be Delphi) and I\'ve heard that the Random functionality is somewhat odd. You have to call randomize to
If they didn't change the implementation since I analyzed it(Delphi 4 IIRC), the Delphi PRNG is implemented like this:
Randseed:=int32(Randseed*$08088405)+1 result:=Randseed*Range shr 32
(Pseudocode/assume the multiplications are on arbitrarily large integers)