title: C: convert a real number to 64 bit floating point binary
body: <p>I'm trying to write a code that converts a real number to a 64 bit floating point binary. In order to do this, the user inputs a real number (for example, 547.4242) and the program must output a 64 bit floating point binary.</p>
  
  <p>My ideas:</p>
  
  <ul>
  <li>The sign part is easy.</li>
  <li>The program converts the integer part (547 for the previous example) and stores the result in an int variable. Then, the program converts the fractional part (.4242 for the previous example) and stores the result into an array (each position of the array stores '1' or '0').</li>
  </ul>
  
  <p>This is where I'm stuck. Summarizing, I have:   "Integer part = 1000100011" (type int) and "Fractional part = 0110110010011000010111110000011011110110100101000100" (array).</p>
  
  <p>How can I proceed?</p>