How does conversion from fixed-point to floating-point happen?
-
04-11-2019 - |
Question
I came across to the code that convert 32-bit signed fixed-point number (16.16) to a float and it looks like (pseudocode)
floating = fixed / 65536.0
Could you please explain me what's the essence of dividing by this? Why does this dividing works when fixed-point and floating-point numbers have different internal structures?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with cs.stackexchange