Question: Floating point representation (20 points) IEEE single preceision float point notation is: most sig. least sig. SEEE,EEEE EMMM,MMMM MMMM,MMMM MMMM,MMMM where: S = sign bit

Floating point representation (20 points)

IEEE single preceision float point notation is:

most sig. least sig. SEEE,EEEE EMMM,MMMM MMMM,MMMM MMMM,MMMM where: S = sign bit (0 = positive, 1 = negative)

EEEE,EEEE are the exponent bits: Bit pattern (EEEE,EEEE) Power of 2 0111,1101 2-2 0111,1110 2-1 0111,1111 20 1000,0000 21 1000,0001 22 MMM,MMMM MMMM,MMMM MMMM,MMMM are the mantissa bits (with the highest 1 bit, the "hidden bit", not stored)

Please do the following (5 points each):

a. Which floating point number is represented in memory as 0x40E00000?

b. Which floating point number is represented in memory as 0x80000000?

c. How is the floating point number 3.5 represented in 4 bytes?

d. How is the floating point number -1.0 represented in 4 bytes?

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!