Question: The floating point representation of a non - zero real number can take the form x = pm ( 0 . a 1 a

The floating point representation of a non-zero real number can take the form x =
\pm (0.a1a2... an)\beta \beta e, where a1=0,M <= e <= M .(This is a slight variation on
what weve seen in the book. It allows a1=0 to signal a float of zero or some other
symbol. I believe this is (therefore) more realistic than what weve seen.) The meaning
is \pm a1\beta e1+ a2\beta e2++ an\beta en. Suppose that \beta =2, n =4, and M =5, where
\beta , n, M are fixed for the platform and the leading sign, a1... an, and e are associated
with a particular user number.
(a) Find the smallest and largest positive numbers that can be represented in this floating
point system. Give your answers in decimal form.
(b) Find the floating point number in this system that is closest to 3.(Hint: Bisection
search by hand in base 2 is a lot easier than it sounds!)

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 Programming Questions!