Question: Did I miss something or is Random really not delivering back a 'fully' random Double?
Depends a bit on the exact fpc version, because some higher "gods" decided to change the prng.
- code for 80 bit random never existed, double reduction and a shr to 32 bit
- mersenne twister (upto 3.2.4): 53 bit precision from 64 bit? or is it also a shr?
- xoshiro128**(from 3.3.1):64 bit precision from 128 bit
There are some higher precision randoms available for 3.2.2 using 128 bit to return full 64 bit double random values.
I have to check system.pas on what is different. (not algorithm but resolution)
I don't think it is the random itself, but how it (a) random is handled.