tc39/proposal-seeded-random
Proposal for an options argument to be added to JS's Math.random() function, and some options to start it with.
HTMLMIT
Issues
- 3
Thoughts on choice of algorithm
#19 opened by bakkot - 0
Algorithm for getting an integer in a range
#23 opened by bakkot - 4
- 5
Not just [0,1), but also random int
#22 opened by Artoria2e5 - 3
- 2
Getting a number in [0, 1) out of the PRNG
#20 opened by bakkot - 4
Is there a polyfill ?
#17 opened by GrosSacASac - 1
Alternative API
#16 opened by mfbx9da4 - 2
Iterator support
#12 opened by TimothyGu - 2
- 7
Default pseudo-random algorithm specification will make securing the standard in future needlessly complicated.
#14 opened by OJezu - 7
Allow pluggable randomness
#5 opened by tabatkins - 5
- 3
Allow control over range/distribution?
#6 opened by tabatkins - 4
Making .seed a getter
#13 opened by TimothyGu - 5
correct first example
#7 opened by GrosSacASac - 2
- 1
Allow seeding from another random source
#11 opened by davidje13 - 0
Output range should be [0, 1), not [0, 1]
#10 opened by davidje13 - 8
seed argument
#1 opened by Ginden - 1
Consistently say "PRNG"
#3 opened by tabatkins - 1
- 8
Consistent RNG algorithm?
#2 opened by spoike