Re:State of the art of random double generation
by mark-r on Friday April 10, 2015 @05:55PM
(#9357319)
Sure you can, I used a short program myself to calculate the best case outcomes. The question is whether it would be worth the bother. Usually the range you request is much smaller than the range of your random number generator, so the number of regenerations required are nowhere near the worst case - and the cost of generating a random number isn't enough to get worried about.
[ Parent
| on HN ]
There are no comments on this comment yet.