Floating-point notation (contd):
The exponent of numbers represented in floating-point notation is represented in excess notation. You may quickly determine the excess notation representation of any number, for any word size, by applying the following procedure. Note that the procedure defined below is for a general word size of k bits where k can be any integer. Note also that below, the phrase "excess binary" refers to excess notation and "binary" to the usual binary notation as discussed in week # 1.
Note:
Hence for k=3 subtract or add (23-1)10= (22)10=410 and for k=4 subtract or add (24-1)10= (23)10=810 and so on for different values of k.
To understand this procedure, remember that in "excess binary" notation 010 is represented by the bit pattern for the decimal number (2k-1)10. That is, for a 3 bit system, as in fig 1.23 of the text (some copies of the text have a printing error), 010 is represented by the bit pattern 100 which, if interpreted using "binary" notation, is (23-1)10= (22)10=410. Similarly, for a 4 bit system, as in fig 1.22 of the text, 010 is represented by the bit pattern 1000 which, if interpreted using "binary" notation is (24-1)10= (23)10=810. It is because of this why the author of your text refers to these systems as excess four and excess eight notation respectively.
e.g.
We will use simple examples to illustrate. That is, we will use words of 3 and 4 bits (k=3 and k=4). Notice that this procedure really only becomes useful for values of k greater than 4.
Representing text:
See page 36 of the text.
Representing images:
See page 42 of the text.
Communication errors:
We will only cover Parity Bit schemes. See page 66 of the text.