From: salsaman <sal...@xs...> - 2004-10-02 10:27:12
|
Burkhard Plaum wrote: > > This one seems better: > > #define a 1664525L > #define c 1013904223L > > return (fastrand_val= a * fastrand_val + c); > > a is suggested by Knuth > c is suggested by H.W. Lewis and is a prime close to 2^32 * (sqrt(5) - 2) Thanks for that, I've updated the code in LiVES with this. Salsaman. |