PCG Random company blog

Efficiently Generating a Number in a Range

The vast majority of my posts about random number generation have focused on looking at the properties of different generation schemes. But, perhaps surprisingly, the performance of your randomized a
Points
74
HN comments
45
Submissions
2
Cited by
10 commenters

Math & AlgorithmsSoftware Engineering2018

On Hacker News

SubmittedTitle on HNPointsComments
Jul 24, 2018Efficiently Generating a Number in a Range by pettou7439
Aug 2, 2025Efficiently Generating a Number in a Range (2018) by csense506

Cited in comments

Linked from 12 Hacker News comments by 10 different people, from Jun 2019 to Oct 2025.

Most recent:

Search every comment that links here →

More from PCG Random

All 2 posts →

Related posts from the same era