Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
whyever
2y ago
0 comments
Save
Share
In Monte Carlo simulations you usually don't care about predictability (so using a non-CSPRNG is fine), but statistical bias may compromise your results.
But I agree that a CSPRNG should be the default.
0 comments
1 comments · 1 top-level
top
newest
oldest
Dylan16807
2y ago
If the modulus fits in 16 bits and the raw random number is 64 bits I don't think your results are going to be compromised.
j
/
k
navigate · click thread line to collapse