lundi 28 janvier 2019

How do random numbers get generated by Programming Languages?

Can anyone explain me how do random numbers get generated ? , well, we all know that computers are based on 0,1 and everything is logical and there is nothing called LUCK, it's all logic, im wondering how could a computer generate a random number ?

for example what really happens in CPU of a server when i call rand() in php ?

where do these numbers come from ? are they really random ? or based on algorithm or what ?




Aucun commentaire:

Enregistrer un commentaire