issues
search
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.
MIT License
156
stars
6
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Algorithm for getting an integer in a range
#23
bakkot
opened
3 months ago
1
Not just [0,1), but also random int
#22
Artoria2e5
closed
6 months ago
5
Should we extend/enhance existing RNG capabilities?
#21
WhosyVox
closed
7 months ago
3
Getting a number in [0, 1) out of the PRNG
#20
bakkot
opened
1 year ago
2
Thoughts on choice of algorithm
#19
bakkot
opened
1 year ago
3
Making `seed` a BigInt is unsuitable for many algorithms
#18
bakkot
opened
2 years ago
4
Is there a polyfill ?
#17
GrosSacASac
opened
3 years ago
4
Alternative API
#16
mfbx9da4
opened
3 years ago
1
Seeding Math.random causes global pollution/corruption
#15
ghost
closed
3 years ago
2
Default pseudo-random algorithm specification will make securing the standard in future needlessly complicated.
#14
OJezu
closed
4 years ago
7
Making .seed a getter
#13
TimothyGu
closed
5 years ago
4
Iterator support
#12
TimothyGu
closed
3 years ago
2
Allow seeding from another random source
#11
davidje13
closed
5 years ago
1
Output range should be [0, 1), not [0, 1]
#10
davidje13
closed
5 years ago
0
Provide simpler API for retrieving individual values
#9
davidje13
closed
5 years ago
2
Seeds need to be portable across impls/versions; algo should be specified
#8
StoneCypher
closed
5 years ago
5
correct first example
#7
GrosSacASac
closed
5 years ago
5
Allow control over range/distribution?
#6
tabatkins
closed
5 years ago
3
Allow pluggable randomness
#5
tabatkins
closed
5 years ago
7
Separate the concept of getting values from getting seed
#4
tabatkins
closed
6 years ago
1
Consistently say "PRNG"
#3
tabatkins
closed
6 years ago
1
Consistent RNG algorithm?
#2
spoike
closed
6 years ago
8
seed argument
#1
Ginden
closed
6 years ago
8