Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

PRNGs don't work that way. They have periods over which all possible output values are produced, close to an equal number of times. Even when producing tuples, we know that this won't loop forever.


You know that, because you already know how "rand" is implemented




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: