Handling big FP numbers

DanielG simpletangent at gmail.com
Sat Feb 9 03:10:08 UTC 2019


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




More information about the Digitalmars-d-learn mailing list