Some help Thanks Do the following exercises Develop a seque

Some help .. Thanks
Do the following exercises. Develop a sequence of steps for doing division of floating point data, much as we did for multiplication. (Recall the steps for multiplication were (i) add exponents, (ii) multiply mantissas, (iii) renormalize, (iv) round, and (v) compute sign.) Trace yom steps for the problem 1.101times 2-4 -1.011times22. Use RZ rounding.

Solution

Given pr

    i) add exponents:1.101*2-4/ -1.011*22      

                               1.101*2-4 * -1.011*2-2   

                              (-4+127)+(-2+127)-127=-5+127

                                 =122

  ii)Multiply the mantissas:

                                  1.101

                                  1.011

                            -------------------

                                  1101

                                1101

                              0000

                           1101

                     -----------------

                      1.101111

      the product is:1.101111*2-6.       

iii)Normalise:

           this is already normalised

             At this step check for overflow/underflow by making sure that

                                                                -126 <= Exponent <= 127

                                                                  1 <= Biased Exponent <= 254

         iv) Round: if we round the rssult

                         1.101*2-6.

         v)compute sign: the result will be negative

                                 so,      - 1.101*2-6.

Some help .. Thanks Do the following exercises. Develop a sequence of steps for doing division of floating point data, much as we did for multiplication. (Recal

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site