title: Why do I get warning C4756: overflow in constant arithmetic when returning float::PositiveInfinity?
body: <p>I have some code which returns float::PositiveInfinity to indicate that an event will never happen but for some reason the compiler (MS Visual Studio 2013) gives me the following warning:</p>
  
  <pre><code>warning C4756: overflow in constant arithmetic</code></pre>
  
  <p>The code in question looks like this:</p>
  
  <pre><code>property float MinsRemainingUntilNextEvent
  {
      virtual float get()
      { 
          return float::PositiveInfinity;
      }
  }</code></pre>
  
  <p>What does that mean and should I care? <a href="http://msdn.microsoft.com/en-us/library/f4s2sw05.aspx" rel="noreferrer">MS's documentation</a> didn't explain it for me...</p>