To convert between floating point and fixed point numbers:
\[ \text{Floating Point Number} = \frac{\text{Fixed Point Number}}{2^Q} \]
\[ \text{Fixed Point Number} = \text{Floating Point Number} \times 2^Q \]
Where:
Fixed point and floating point conversions are used to transform numbers between fixed-point representation, which is often used in embedded systems for efficiency, and floating-point representation, which is used for a wider range of values and more precision.
Let's assume the following values:
Using the formula:
\[ \text{Fixed Point Number} = 3.14 \times 2^4 = 3.14 \times 16 = 50.24 \]
The fixed point number is 50.24.