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

just in terms of pure randomness (which is not what this is testing), random(random()) doesn't make more sense than random(). If your random number generator is good, one is enough. If it's not good, multiple times is not going to help.

I'm putting this in the past tense, it randumb enough times for me.



The argument to random() in this case is the upper bound, so `random()` and `random(random())` are different.

See: https://processing.org/reference/random_.html




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: