The way of doing it is convert the hex to binary which is 0100 0001 1011 1001 1101 1101 1101 1110.
First bit = Sign bit
Next 8 bit = exponent with an offset of 127
Remainder = mantissa
Floating point = sign bit * 2^exponent * mantissa
For “0x41B9DDDE”
Sign bit = 0 ( positive ) = +1
Exponent = 10010011 - 127 = 131 - 127 = 4
Mantissa = 1 + (011 1001 1101 1101 1101 1110) = 1 + 0*(1/2) + 1*(1/4) + 1*(1/8) + 1*(1/16) + 0*(1/32) + 0*(1/64) + 1*(1/128) + 1*(1/256) + 1*(1/512) … = 1.452
Floating point = +1 * 2^4 * 1.452 = 23.232
Formula is referenced from here.
Is there a way to convert the hex to binary in a blob format for further calculations?