On Saturday, 9 February 2019 at 03:03:41 UTC, H. S. Teoh wrote:
It's not only because of converting decimal to binary, it's also because double only has 64 bits to store information, and your number has far more digits than can possibly fit into 64 bits.
Adding to that, here's a nice little online calculator that will show the binary representation of a given decimal number:
https://www.h-schmidt.net/FloatConverter/IEEE754.html
