Question: Consider a ternary, normalized floating - point number system that is base 3 with rounding. Analogous to a bit, a ternary digit is called a

Consider a ternary, normalized floating-point number system that is base 3 with rounding.
Analogous to a bit, a ternary digit is called a "trit." Assume that a hypothetical ternary
computer uses the following floating-point representation:
smsee1e2t1t2t3t4
where:
sm is the sign of the mantissa (0 for positive, 1 for negative),
se is the sign of the exponent (0 for positive, 1 for negative),
t1,t2,t3, and t4 are the trits (ternary digits) of the mantissa,
e1,e2 are the trits of the exponent (an integer),
Each trit can be 0,1, or 2.
Show all your work for all parts.
(a) What is the computer representation of -5.72910 in this system?
(b) What decimal value does 01112021 represent in this system?
(c) What is the maximum positive (non-zero) number that can be represented in this
system? Provide its value in decimal.
(d)) Let q be a real number in the interval [8110,24310). If we need to represent q in
this ternary floating-point system with some approximation q*, what is the upper
bound on the absolute error of this representation? Provide your answer in decimal.
Consider a ternary, normalized floating - point

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!