Hi, it is happening because internally it calls the random() function which returns a double between 0 and 1. The bit representation of this value is then copied directly to a 64 bit integer value, which results in those bits to always have the same values. It is designed to work like that.