Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get a 64-bit random value in Delphi?

How can I create a random 64-bit integer value in Delphi 2006? The built-in integer-based Random() function seems to return only values between 0 and 2^31.

like image 817
blerontin Avatar asked Dec 10 '10 12:12

blerontin


People also ask

What is random in pseudocode?

Pseudo Random Number Generator(PRNG) refers to an algorithm that uses mathematical formulas to produce sequences of random numbers. PRNGs generate a sequence of numbers approximating the properties of random numbers.


1 Answers

You can use my GpRandomGen. It implements Marsaglia/Zaman/James algorithm, is extremely fast and supposedly very random. Released as a freeware.

like image 185
gabr Avatar answered Sep 23 '22 01:09

gabr