[eu-gene] ansi randomness

*~ chun at goto10.org
Wed May 10 00:34:45 BST 2006


Rob Myers said :
> On 9 May 2006, at 22:03, \jjs wrote:
> 
> >but that MinGW implementation seems completely deterministic to me!
> >for instance- how can you get a number between 0 and
> >6364136223846793006 [unless you can feed it a floating point number
> >between 0 and 1]?
> 
> I'm guessing there's an overflow involved which will wrap the number  
> round.

i think Pd's [random] is also using overflow to get the "random" number. or at least the code for the 
[random] object in pd is very short too.

chun

> 
> Anyone on the list who can guess the next number a pseudorandom  
> number will generate is better at maths than me. That said, anyone  
> who can do long division is better at maths than me. :-)
> 
> - Rob.
> -- 
> 'Douglas Hofstadter believes he is a strange loop, and who am I to 
> disagree?'
> To unsubscribe from eu-gene visit
> http://www.generative.net/mailman/listinfo/eu-gene
> 


More information about the eu-gene mailing list