![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
sci.crypt archiveRe: Finally a safe and math accurate random64bit function ! ;)
From: Skybuck Flying <spam@hotmail.com>
Date: Sat Apr 29 2006 - 11:06:26 CEST
I think I have found the bug.
The modules must first be applied to the initial rand seed, since the
Then the next random number is calculated but no module is yet applied...
I hope this doesn't disturb the algorithm... otherwise the algorithm might
function LehmerRandom32bitSafe( ParaLehmerModulesMInt64 : int64 ) : int64;
Bye,
|