Marco van de Voort wrote:
In GPC, in may be very large, e.g.:
<snip>
a := Random (1000000000000000000);
Random has a 64-bit definition? Or both 64 and 32 with overloading?
The internal RNG is 32 bit, but is a 64 bit number is wanted, Random calls it twice.
The `Random' function is overloaded (with compiler magic) for LongestReal and LongestCard (i.e., the longest available real and (unsigned) integer types -- this may by 64 bit, or 128 bit on 64 bit systems).
Frank