types - Maximum value vs. size of long and double in .NET -
It is known that both long and double nat sizes are 8 bytes. However, double long enough store in large numbers Can do. How can it be that after digit point, there is also a need to accumulate figures of digits?
Small version of the question:
Mathematics.p. (2, 64) == tall .MaxValue Math.Pow (2, 64) & lt; Double. Maximum value
The short answer doubles only stores the most important data, not the diagrams in all the digits. Like if you have double> maximum time value after the point of decimal, will not accumulate any information for the digits or any data on the left side of the DCMML point.
View all the details
Comments
Post a Comment