-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Algorithm] Pseudo-random numbers generator #50
Comments
Can I pick this one up? |
Yes |
Okay, so I've finished this one. But now that I think of it, is it allowed to use an API which has bigger randomness rate? Check here what I've done, to see what I'm talking about. If it's not allowed, just say, I'll do it manually 😄 |
By the Contributing.md you are allowed to use an external library only when there's no other solution is possible. So, implement this algorithm manually, please. |
Truely random numbers are not possible on todays computers. Your best bet would be using this api as it generates numbers from atmospheric noise, which is truly random. Best you can get on computers are pseudo-random numbers. There is simply no algorithm to generate a truly random number. You're asking for something impossible. I've gathered a couple articles for you to read: I'd recommend you close this issue as no human being in the history of humankind has ever been able to write an algorithm to generate truly random numbers. |
A pseudo-random number generator has already been included in the .net framework. https://docs.microsoft.com/en-us/dotnet/api/system.random?view=netframework-4.7.2 |
This repo is not about C# implementations of algorithms and data structures. This repo is about data structures and algorithms implemented in any programming language. So it doesn't matter that pseudo-random number generator has been already included in the .net framework. Also, there are many pseudo-random number generators. https://en.wikipedia.org/wiki/List_of_random_number_generators |
Oh, apologies. This repo was marked as C# |
No description provided.
The text was updated successfully, but these errors were encountered: