title: Calculating range of float in C
body: <p>Title pretty much sums it all.</p>
  
  <p>I know that floats are 32bit total with 23bits for mantissa and 8bits for the exponent value and 1 for signing. </p>
  
  <p>Calculating the range of "int" is pretty simple:  32bits = 32-1bit signature =31bits ==>  Range is therefore 2³¹= 2.14e9</p>
  
  <p>The formula makes sense...</p>
  
  <p>Now i've looked around stackoverflow but all the answers i've found regarding float range calculations lacked substance. Just a bunch of numbers appearing randomly in the responses and magically reaching the 3.4e38 conclusion. </p>
  
  <p>I'm looking for an answer from someone with real knowledge of subject. Someone that can explain through the use of a formula how this range is calculated. </p>
  
  <p>Thank you all.</p>
  
  <p>Mo.</p>