Question: 3. Add the following two floating-point numbers. [23] N1 = 0x41300000 N2 = 0x40E00000 N3 = N1 + N2 = ? (a) Extract exponent and

3. Add the following two floating-point numbers. [23]

N1 = 0x41300000

N2 = 0x40E00000

N3 = N1 + N2 = ?

(a) Extract exponent and fraction bits

N1: S = __________________, E = __________________, F = __________________

N2: S = __________________, E = __________________, F = __________________

(b) Prepend leading 1 to form mantissa

N1:

N2:

(c) Express in scientific notation

N1:

N2:

(d) Shift smaller mantissa if necessary

N1:

N2:

(e) Add mantissas

(f) Normalize mantissa and adjust exponent if necessary

(g) Round result if necessary

(h) Assemble exponent and fraction back into floating-point format

S = __________________, E = __________________, F = ___________________

N3 =

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!