Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
WorkLifeBalance
on July 25, 2018
|
parent
|
context
|
favorite
| on:
Efficiently Generating a Number in a Range
The modulo approach is biased for all ranges which don't divide the full range but only a small amount of bias at small ranges rather than a large amount of bias at large ranges.
dagenix
on July 25, 2018
[–]
I don't disagree - I just very much hate the phrase "over engineered" as I think it never adds anything to a discussion.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: