title: Why is x and y always 0 with a float?
body: <pre><code>int main(void){
      float x =1;
      float y =2;
      while (x&lt;y){
          x = x +1 ;
          y = y +1;
  }
      printf("x is %d\n", x);
      printf("y is %d\n", y);
  }
  </code></pre>
  
  <p>I would expect x and y to increase to the point we run out of bits, but it seems like x and y is alway 0 in this case...</p>