title: Assign infinity to float
body: <p>I'm trying to initialize a float to value infinity, and without using INFINITY macro.</p>
  
  <pre><code>float f[] = {
              0b01111111100000000000000000000000, // 0x7f800000
              0x7f800000 -1,
              0x7f800000 -2,
              0x7f800000 -64,
              0x7f800000 -65
          };
  </code></pre>
  
  <p>Printed:</p>
  
  <pre><code>2139095040.000000
  2139095040.000000
  2139095040.000000
  2139095040.000000
  2139094912.000000
  </code></pre>
  
  <p>Why isn't the first data infinity (like <code>1 / 0.0</code>) and the others don't change until the last data?</p>
  
  <p>0x7f7fffff should be the biggest value that a float can be and trying <a href="http://www.h-schmidt.net/FloatConverter/IEEE754.html" rel="nofollow">here</a> 0x7f80000 is considered infinity.</p>