If you have a source of random bits, it is most convenient to return a binary floating-point number in [1.0 , 2.0), as they are all in the same binade, meaning they share sign and exponent bits and have uniformly random bits in the mantissa.
1 Like