4
PHP has a function called rand
. There is also a function called mt_rand
.
I was studying about these functions and realized that, in previous versions, it was necessary to use such a "random number seeder".
One of them is the function called mt_srand
.
In this excerpt from Manual for PHP I saw that there is a reference to the name Mersenne Twister
. Then I realized that mt_
at the beginning of the function had something to do with.
I saw something on Wikipedia, but I found it a little vague.
Then I’d like to kill that curiosity:
- What is Mersenne Twister? Has something to do with this sower or the randomization process?
Related: How computer randomization is generated?
– rray
Also related @rray: What is a random semen?
– Wallace Maxters