Question: Question 2: Floating Point number representation (18 points) a) Write the IEEE754 single-precision representation of the following decimal numbers. Can the decimal numbers be represented
Question 2:
Floating Point number representation (18 points)
a) Write the IEEE754 single-precision representation of the following decimal numbers. Can the decimal numbers be represented exactly? If not, please find the nearest approximation of the number. Show your steps briefly, otherwise no mark will be given. (10 points)
1) 20.59375
2) 0.335
b) What decimal values are represented by the following IEEE754 single-precision floating-point representations? Show your steps briefly. You dont need to work out the exact value, its good enough to show your answer in power of 2. (8 points)
1) 1 10001010 00100000000000000000000
2) 0 00000000 00111000000000000000000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
