Random question (sorry): What is the probability of a MT19937-based pRNG *actually* returning 0.0 on rand()?
Is it though? Every manual makes a point to note that 0 is inclusive. I assume someone did the analysis. But, I've never seen an estimate of the probability.
-
-
Er, not estimate -- analytical result.
-
Depends on how you define "returning 0.0" since equality isn't incredibly well-defined on floats.
- 7 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.