title: How is float range that large with 4 bytes (±3.40282347E+38)
body: <p>Both <code>int</code> and <code>float</code> types are of <strong>4 bytes</strong> in java.</p>
  
  <p>Then how can <code>int</code> represent a range of just <code>-2,147,483,648</code> to <code>2,147,483,647</code> where <code>float</code> has approximately <code>±3.40282347E+38F</code> while both have the same limited amount of bytes?</p>
  
  <p>According to my understanding both should have the same range as they have the same amount of bytes. Can some one explain me how <code>float</code> can represent a range that large?</p>