General > Off Topic
Rnd function
MightyPenguin:
How long does it take for VB's random function to repeat itself? I.e. how many values can it take?
Botsareus:
I think I know but Mighty should reply to "The English" first
:bigginangel: Bau :bigginangel:
:evil: Bau :evil:
MightyPenguin:
That topic had gone off topic by the third post. I'm really not sure if I have anything to add.
I only want to know if it's more than 2^64 values...
Botsareus:
Yes there are more, Maybe 2 ^ 150 is close. But I dont have a computer science major so I dont know for sure.
MightyPenguin:
Assuming you have the computer generate a new number every second, it should take 4.5382061861071679164704351389191e+37 years for the function to repeat itself. Note that the universe is only 1.37e+9 years old. Why on earth do you feel the need to make it more random? :huh:
Oh well, each to their own, I suppose...
Numsgil, how many instructions would a P4 have to perform when you call the random function?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version