Rand- 16 bits only????

Miscellaneous Forums/Blitz Showcase/Rand- 16 bits only????

is it as simple as doing:

random# = sin(millisecs()) * maxvalue#


or is there something i'm missing there? (besides needing to feed the number back in, so that you can use seeding to recreate a pattern of numbers

i'm just curious, cause i was pondering random number generation recently and that was my theory on how to do it