Number System and Representation                                                                                                        Print this page
<< Previous |  First |  Last |  Next >>       

Fixed-point representation:

Binary representation of 41.6875 is 101001.1011

To store this number, we have to store two information,
                     --    the  part  before decimal point and
                     --    the  part  after decimal point.

This is known as fixed-point representation where the position of decimal point is fixed and number of bits before and after decimal point are also predefined.

If we use 16 bits before decimal point and 7 bits after decimal point, in signed magnitude form, the range is

                   

One bit is required for sign information, so the total size of the number is 24 bits

                     (  1(sign)  +  16(before decimal point)  +  7(after decimal point)  ).

<< Previous |  First |  Last |  Next >>