[erlang-questions] RNG algorithm choice for uniform natural numbers
Sun Aug 5 22:04:03 CEST 2018
Richard O'Keefe writes:
> a "uniform sequence of natural numbers". There are infinitely many natural
> numbers. The generators you mention
> produce integers of fixed size. What exactly is it you want? Do you want
> something like
> https://gmplib.org/manual/Integer-Random-Numbers.html ?
Yes, bad wording on my side. It will be a sequence of invocations of rand:uniform_s/2 (on potentially differing integers).
More information about the erlang-questions