"Jaap Frank" <jjf### [at] casema nl> wrote:
> Maybe this is a simple solution:
>
> #declare S1 = seed(1234); // Use the current RNG
> #declare S1 = seed(1 * 1234); // Use the current RNG
> #declare S2 = seed(2 * 1234 * 4567); // Use second RNG algorithm
> #declare S3 = seed(3 * 2^32 * 7890); // Use third RNG algorithm with big
> numbers
>
> or if you want floats:
>
> #declare S4 = seed(4 * 2^45 / 3^4); //Use fourth float RNG algorithm
>
> The parser can detect the difference easy, I think.
With the current parser framework, this is far from easy. Let alone that it's
far from consistent either: Why should seed(2 * 1234 * 4567) give any different
result than seed(1 * 11271356)?
Post a reply to this message
|