title: Infinite "for" loop when using not equal
body: <p>Hi this is surely simple but i cant find the answer to why this doesn't quit the loop after 0.9</p>
  
  <pre><code>    #include &lt;stdio.h&gt;
  
      int main()
      {
              float x;
              for(x=.1;x!=1.0;x+=.1)
              printf("%f\n", x);
              return 0;
      }
  </code></pre>