Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!


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

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi Firemonkey Random Number Generator Windows MacOSX | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDeveloper 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 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 results, and passes his test. There are two graphs showing the random numbers from 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.

Related posts

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging


Unleashing Creativity With Song Writer AI: A Deep Dive


How To Build Stable Diffusion Text To Image Prompts


FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply