title: Maximum value vs. size of long and double in .NET
body: <p>It's known that in .NET size of both long and double is 8 bytes. However, double can store significantly larger number than long. How can it be, considering that double also needs to store data on digits after decimal point?</p>
  
  <p>Shorter version of the question:</p>
  
  <p>Math.Pow(2, 64) == long.MaxValue
  Math.Pow(2, 64) &lt;  double.MaxValue</p>