If I have an array, number[4], of these values:
number[0]=0x3F
number[1]=0xC7
number[2]=0xAE
number[3]=0x14
I want to use a printf(%f) statement to combine this array into a single number (0x3FC7AE14), and then output that as a single floating-point number (1.56).
The printf statement is the easy part. My problem is I do not know how to take the four separate array values and combine them into a single floating point number. Can someone tell me how to do this?
Thanks!



LinkBack URL
About LinkBacks


