Question: Consider the floating point number system of base beta = 2 . pm ( d 0 . d 1 d 2 . .

Consider the floating point number system of base \beta =2.
\pm (d0.d1d2... dt1)\beta \times \beta
\pm (e)\beta
.
Note that the notation (
)\beta means the number is represented in base \beta system.
16 bits were used to represent numbers in this floating point number system:
1 bit is reserved for the sign of the number [0 for + and 1 for ].
9 bits are reserved for the mantissa d1,..., dt1.
1 bit is reserved for the sign of the exponent [0 for + and 1 for ].
5 bits are reserved for the exponent e.
Chopping is used for rounding.
(a) What is machine for this floating point number system? Provide both in binary and
decimal values.
1
(b) What is the largest number that can be represented? Provide both in binary and
decimal values.
(c) What is the smallest number that can be represented? Provide both in binary and
decimal values.
(d) What is the decimal representation of x =1101110110001011?
(e) With x =1031 what is fl(x)? Provide both in binary and decimal values. Calculate
the relative error, \delta x, of representing x using fl(x) and verify that \delta x<= machine.

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!