I tried to convert Unsigned 16 type floating point number but I couldn't find which functions or conversation method do I have to use for this.
For example I have 3 decimal numbers and these numbers have came with these hex value BD97 >>>>>>> 38.84
3098 >>>>>>> 38.96
8497 >>>>>>>> 38.79
I belive these are half precision floating point but couldn't understand how can I convert them. Is there any body help on this matter?
Update :
I'm sorry I think I couln't explain clearly. The values I wrote above comes from a kind of serial bus but these values also printed on display. Value from serial bus coming Unsigned16(I think this is special 16bit data type).
For example when I read 0xBD97 from bus, machine display shows 38.84 or when I read 0x3098, display shows 38.96.
The interesting thing is, these hex value which I get from bus seems irrelevant to the data shown on display. So, I thought this data was half precision data but I couldn't find how to convert it.
Thanks