Question: Suppose you are asked to devise a special datatype, called SPECIAL_FLOAT, and an associated representation that uses the fewest bits possible to encode a particular

Suppose you are asked to devise a special datatype, called SPECIAL_FLOAT, and an associated representation that uses the fewest bits possible to encode a particular range of possible numerical values. The values all take the form: Suppose you are asked to devise a special datatype, called SPECIAL_FLOAT, and

+M X 100 where M can take integer values in the range 0 to 65535, N can take integer values in the range -15 to 16, and the sign can take 2 possible values - positive and negative. a) How many bits are required to represent the values of the sign, M, and N? How many bits total is that? b) Devise a representation for the value of +M X 10N using the number of bits you found in a. Note there is more than one way to do it correctly. c) Describe how a computer reading an instance of your data type would recover the information encoded in it

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!