I am relatively new to C. I need to use to convert values generated by an A to D converter (000h to FFFh) into floating point numbers. One way that this can be done is using the Float command as in x = (float) y. Is there a better way ? More important, is the result in IEEE Floating binary point format (standard 754) or some other format. I am using a 8051 micro and Keil toolset for the C compiler.
If the result is in IEEE format I want to convert it into decimal format format and send it a PC or Hyperterminal so I can see it. Seems like a lot of character manipulation is required for this. Is there some standard math routine that already does this ?