On 64 bits you can only store 2 ^ 64 different codes. This means that the 64-bit type, which can represent 2 ^ 64 integers, has no place to represent anything else, such as floating point numbers.
Obviously, double can represent many non-integer numbers, so it cannot match your requirements.
Bastien leonard
source share