I'd like to convert 32int into float value.
Direct cast does not work in a way I expected.
in hex BFFFF2E5
singned int -1073745179
When I cast
I got -1.073745e+09Code:float myFloat; int myInt; myFloat = (float)myInt ;
Value I expect is:
float :-1.999600e+00 (from GHex or other hex editor)
How to get this value in C code?