Hello,
I have a 32-bit integer. The bit stream is actually a bit stream for a 32-bit float (IEEE 754). I tried converting it with:
unpack('f', $input);
This generates a float, but it seems it is not the right number
For example, if I pass in 1, I should be coming out with 1.4012984e-45, according to the IEEE754 converter, but I am coming with 2.5638762224389E-9
Thanks a lot for any help/advice.