2Assume that M 0b1011 and N0b0010 are two floating point num

2.Assume that M= 0b1011 and N=0b0010 are two floating point numbers with this formatting (1 Sign (S) bit, 2 Exponent (E) bits, 1 Significant (M) bit, and assume that bias = 1) a) Show the result of M+N using the same standard (show the steps to perform addition in floating point

Solution

First, convert the two representations to scientific notation. Thus, we explicitly represent the hidden 1.

Here

Similarly

we need the exponents of the two numbers to be the same. which in this case is already same

So we add both de-normalised numbers considering their sign

2.Assume that M= 0b1011 and N=0b0010 are two floating point numbers with this formatting (1 Sign (S) bit, 2 Exponent (E) bits, 1 Significant (M) bit, and assume

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site