On Mittwoch, Jul 30, 2003, at 06:56 Europe/Zurich, Dar Scott wrote:

On Tuesday, July 29, 2003, at 08:48 PM, Bj�rnke von Gierke wrote:


I am experimenting with the random functions, and I would like to know what exactly the largest number is that the randomseed still accepts, as I found out that it generates the same numbers when given too large numbers (ca. 10 digits). Also is there such a limit on the randomnumber ?

I don't know the exact limit for random(), but I do know that 2^31 is a near upper bound. The randomseed limit may be similar. That says nothing on the quality of results for use of random() up to that > limit.

This sees to be true, well actually its (2^31) - 1 probably due to starting with zero. how did you come up with that number?


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to