Question: The number 2 5 cannot be represented exactly in IEEE 7 5 4 double preciision. What is the closest machine number to 2 5 ?

The number 25 cannot be represented exactly in IEEE 754 double preciision. What is the closest machine number to 25? What is the relative roundoff error involved in storing this number?
Hint: Recall that in IEEE double precision, floating point mumbers are uniformly spaced in intervals 2n,2n+1 with gaps 2n-52. In other words, number between 2n and 2n+1 may be represented as x=2n(1+k) where k=1,2,3,cdots,252-1 and =2-52.
 The number 25 cannot be represented exactly in IEEE 754 double

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!