title: BigInteger cannot represent infinity
body: <p>When i run this code  I get run-time exception</p>
  
  <blockquote>
    <p>OverflowException: BigInteger cannot represent infinity.</p>
  </blockquote>
  
  <pre><code>BigInteger sum=0;
  for (double i=1 ; i&lt;=1000 ;i++ )
      sum += (BigInteger) Math.Pow(i,i);
  Console.WriteLine(sum);
  </code></pre>
  
  <p>From what I understand there should be no limit to <code>BigInteger</code> values. So why it throws <code>OverflowException</code>?</p>