[Gambas-user] Random Numbers Functions info

Jussi Lahtinen jussi.lahtinen at gmail.com
Sat May 7 22:39:47 CEST 2022


Benoit has left this note in the sources:

 "This is a twisted generalized feedback shift register
   that generates pseudo-random numbers.

   Source code from the paper of Yann Guidon
   in March edition of GNU/Linux Magazine France"

I guess it is initialized with /dev/random.

Why do you ask?


Jussi


On Sat, May 7, 2022 at 10:02 PM Charles Bukowski <
charlesbukowski.italy at gmail.com> wrote:

> Hello, just as information, I have a question regarding how random numbers
> are generated by language functions.
> Is Mersenne Twister algorithm the pnrg? Or is it the same used in java?
> Many thx
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220507/6895f77a/attachment-0001.htm>


More information about the User mailing list