title: Biggest integer that can be stored in a double
body: <p>What is the biggest &quot;no-floating&quot; integer that can be stored in an IEEE 754 double type without losing precision?</p>
  <p>In other words, at would <a href="https://dotnetfiddle.net/N4gQDX" rel="nofollow noreferrer">the follow code fragment return:</a></p>
  <pre class="lang-cs prettyprint-override"><code>UInt64 i = 0;
  Double d = 0;
  
  while (i == d)
  {
          i += 1; 
          d += 1;
  }
  Console.WriteLine(&quot;Largest Integer: {0}&quot;, i-1);
  </code></pre>