title: Variable overflow when increment
body: <p>I am doing some calculation with increment as below.</p>
  <pre><code>DOUBLE result;
  UINT32 data;
  
  while(1)
  {
      result = data + 1;
  }
  </code></pre>
  <p>But when data=0xFFFFFFFF(4 byte max value), result becomes 0 by doing above calculation.</p>
  <p>I guess a data overflow occured.</p>
  <p>So I wonder if there is any way I can do this calculation continuously without changing data type of ‘data’ to bigger size.</p>