Testing The Random Number Generator In Delphi Firemonkey On Windows And OSX

Delphi Firemonkey Random Number Generator Windows MacOSXDeveloper Mehmed Ali Caliskan from Turkey has a blog post up from a few years ago where he explores the Delphi random number generator. He built a cross platform test application in Firemonkey for Windows and Mac OSX which test the Delphi random number generator and also tests the same data against the Random.org API. He built this test application before Android support (and probably IOS support) was available but you should be able to upgrade it to support Android and IOS if you want to test it out for yourself on those Firemonkey platforms. At the end of the article he concludes that Delphi’s random number generator is decent (not unnatural in it’s results), comparable to Random.org results, and passes his test. There are two graphs showing the random numbers from Random.org and the Delphi random function. At 100,000 tests you can see that the two graphs are very similar.

Head over and read the full blog post about the nature of randomness and testing the Delphi Firemonkey random number function.

Or head directly to Google Code and download his demo project for testing the Delphi random function yourself.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Testing The Random Number Generator In Delphi Firemonkey On Windows And OSX by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE7 Firemonkey Free Drawing Android Showcase App
FreeDrawing Multitouch Multiview Showcase App In Delphi XE7 Firemonkey On Android

Developer Andrea Magni from Italy has a drawing app on Android which showcases some of the new features of Delphi...

Close