Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

Random() Functionality in programming languages

Solved! Go to Solution.

Almost every programmer have used the Random() Functionality in any programming language they use.

but, have you ever asked yourself how this functionality works ? to be more specific.

 

How the Random() Functionality is generating a random object even if nothing is actually random inside a computer?

 

Well, hopefully someone has an idea about that. thanks in advance.

2 Replies
Solution
Copilot Lvl 2
Message 2 of 3

Re: Random() Functionality in programming languages

That's a very good question!

Behind pseudo-random functions there are math and statistics' theorems; I think the following wiki page, Linear congruential generator, is a good starting point to understand a little bit of this huge topic.

Highlighted
Copilot Lvl 2
Message 3 of 3

Re: Random() Functionality in programming languages

@pierDipi  Thank you for clarifying! looking forward to learn more in this huge topic.