SeedRnd uses integers?

BlitzMax Forums/BlitzMax Beginners Area/SeedRnd uses integers?

ImaginaryHuman(Posted 2006) [#1]
Exactly how many bits does SeedRnd accept as the seed? Does it take an integer only and ignore anything beyond a 32-bit value? Does it use less than 32-bits?


H&K(Posted 2006) [#2]
SeedRnd 10

seed=RndSeed()

Print "Initial seed="+seed

For k=1 To 10
Print Rand(10)
Next

SeedRnd 10.9

seed=RndSeed()

Print "Initial seed="+seed

For k=1 To 10
Print Rand(10)
Next
Implies that it is just ints


Yan(Posted 2006) [#3]
Wouldn't it have been easier (not to mention quicker) to just look at '../mod/brl.mod/random.mod/random.bmx' than post here?