Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.994 Beiträge
 
#1

New in Rio: custom PRNG

  Alt 27. Feb 2019, 00:01
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...
  Mit Zitat antworten Zitat