Content deleted Content added
No edit summary |
No edit summary |
||
Line 5:
The bits to the left of the radix point are magnitude bits that represent integer values, the bits to the right of the radix point represent fractional values. Each fractional bit represents an inverse power of 2. Thus the first fractional bit is 1/2, the second is 1/4, the third is 1/8 and so on. For signed fixed point numbers in [[two's complement]] format, the upper bound is given by
:<math>\left({2}\right)^{(m-1)}-1 + {2^f-1 \over 2^f} = 2^{m-1} - 1 \over 2^f</math>
where ''m'' is bits of magnitude and ''f'' is bits of fraction.
|