title: Float to fixed conversion
body: <p>This is a basic question but I am confused.</p>
  
  <p>I have a register which has the format 1.4.12.  Meaning it takes a float and takes the range -15.9999 - 15.9999, is that correct, or how many nines?  I am confused by the range.</p>
  
  <p>I need to convert a c++ float to fixed point and put it in the register?  Are there any std:: libraries to do that in C?  If not is there any standard code that someone could point me to?</p>
  
  <p>Also, how to convert fixed to float would be good?</p>