Y
Hacker News
new
|
ask
|
show
|
jobs
by
klipt
1725 days ago
Intuitively, you're building a random real number in the range [0, 1) bit by bit, and returning 0 or 1 once you're sure that number is above or below threshold p.