mardi 26 avril 2016

Non repeating RNG in a range?

I need a RNG that produces every number once (no storing results). I found a few LFSR (Linear feedback shift register) online but they work as 32bits or 16. I need them somewhere in between (22bits) or in a range. How do I implement this? (my LFSR is weak)




Aucun commentaire:

Enregistrer un commentaire