Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   New in Rio: custom PRNG (https://www.delphipraxis.net/199865-new-rio-custom-prng.html)

DP News-Robot 27. Feb 2019 00:01

New in Rio: custom PRNG
 
I don't know if anyone noticed, but there is something new in the System unit of Delphi 10.3 Rio that is not documented yet.


In Rio, if you want to improve the default pseudo random number generator (PRNG), you can now supply your own 32 bit random function. There is a procedural variable, Random32Proc of type function: UInt32, to which you can assign assigned your own random function. Random will call this function to get a new random value instead of th

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz