Question

on 15 0 out of 1 points Consider a 16 bit floating-point number system. The sign bit is the most significant bit.6 bits are reserved for the used. remaining 9 bits are the mantissa. A bias of 31 is to be Represent +Infinity in binary using the floating-point representation above.

I need all steps with the reason and detail


Thanks
0 0
Add a comment Improve this question Transcribed image text
Answer #1

SInce the number system used is a 16-bit binary system(also referred as 16 base 2 format,where 16 represents number of bits used and 2 represents base of the number system:binary)

In general the sign of the number systems will be represented in the Most Significant Bit (MSB)position on the left most position of the number that is represented just like representing an integer

for signed numbers , the value of MSB signifies the positive or negative symbol for the number

MSB=1 means negative

MSB=0 means positive

for the given number system , the number format is like :

1 bit (MSB) for representing the sign +/-

6 bits to represent the value of exponent

9 bits for representing the mantissa

making a total of 16 bits as shown below

IT WAS ALSO MENTIONED THAT THE NUMBER SYSTEM IS SIGNED AND BIASED .This means the value that represents the exponent is an offset from the actual value.this helps higher values to be stored in less number of bits in 2's complement form instead of direct representation of binary values

Here the numbee system uses 6 bit exponent which is capable of representing values from 0- 26 (0 to 31) making a total of 32 values with a maximum bias value : 31

in order to get the true exponent the offset of 15(011112) has to be subtracted from the stored exponent.

The stored exponents

(00000)2 used to represent zero and

(11111)2 used to represent infinity

are interpreted specially in floating point number system.

since an infinity value cannot be represented numerically with a limited number of bits in the mantissa,all the bits representing the mantissa value remain zeroes

the floating point 16-bit representation of + infinity is shown below:

bits 0-8 = 000000 (mantissa all bits reset)

bits 10-14=111111 (representing special interpretation of value infinity)

bit 15(MSB) = 0 (representing + symbol)

Add a comment
Know the answer?
Add Answer to:
I need all steps with the reason and detail Thanks on 15 0 out of 1...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. Assume we are using the simple model for floating-point representation as given in this book...

    1. Assume we are using the simple model for floating-point representation as given in this book (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15, a normalized mantissa of 8 bits, and a single sign bit for the number): a) Show how the computer would represent the numbers 100.0 and 0.25 using this floating-point format. b) Show how the computer would add the two floating-point numbers in part a by changing one of...

  • Only Answer Part D! Thanks Floating Point Representation Consider a computer that stores information using 10...

    Only Answer Part D! Thanks Floating Point Representation Consider a computer that stores information using 10 bits words. The first bit is for the sign of the number, the next 5 for the sign and magnitude of the exponent and the last 4 for the magnitude of the mantissa. The mantissa is normalized as described in class and in the textbook. a. Convert 1 00010 1001 to a base-10 system b. What is the highest number that can be stored...

  • 4. (5 points) IEEE 754-2008 contains a half precision that is only 16 bits wide. The leftmost bit...

    4. (5 points) IEEE 754-2008 contains a half precision that is only 16 bits wide. The leftmost bit is still the sign bit, the exponent is 5 bits wide and has a bias of 15, and the mantissa is 10 bits long. A hidden 1 is assumed. Write down the bit pattern to represent-1.09375 x 10-1 assuming a version of this format, which uses an excess-16 format to store the exponent. Comment on how the range and accuracy of this...

  • Assume the following representation for a floating point number 1 sign bit

     Assume the following representation for a floating point number 1 sign bit, 4 bits exponent, 5 bits for the significand, and a bias of 7 for the exponent (there is no implied 1 as in IEEE). a) What is the largest number (in binary) that can be stored? Estimate it in decimal. b) What is the smallest positive number( closest to 0 ) that can be stored in binary? Estimate it in decimal.c) Describe the steps for adding two floating point numbers. d)...

  • Problem 4 (10 points): 1. Consider the numbers 23.724 and 0.3344770219. Please normalize both 2. ...

    please help Problem 4 (10 points): 1. Consider the numbers 23.724 and 0.3344770219. Please normalize both 2. Calculate their sum by hand. 3. Convert to binary assuming each number is stored in a 16-bit register. Half-precision binary floating-point has: sign bit: lbit, exponent width: 5bits and a bias of 15, and significand 10 bits (16 bits total) 4. Show cach step of their binary addition, assuming you have one guard, one round, and one sticky bit, rounding to the nearest...

  • 2. Perform the following binary multiplications, assuming unsigned integers: B. 10011 x 011 C. 11010 x...

    2. Perform the following binary multiplications, assuming unsigned integers: B. 10011 x 011 C. 11010 x 1011 3. Perform the following binary divisions, assuming unsigned integers: B. 10000001 / 101 C. 1001010010 / 1011 4. Assume we are using the simple model for floating-point representation as given in the text (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 16, a normalized mantissa of 8 bits, and single sign bit for the number ):...

  • Consider the following two 16-bit floating-point representations 1. Format A. There is one sign b...

    Please show work, thanks. Consider the following two 16-bit floating-point representations 1. Format A. There is one sign bit There are k 6 exponent bits. The exponent bias is 31 (011111) There are n 9 fraction/mantissa bits 2. Format B There is one sign bit There are k 5 exponent bits. The exponent bias is 15 (01111) There are n 10 fraction/mantissa bits Problem 1 (81 points total /3 points per blank) Below, you are given some bit patterns in...

  • Calculate 1.666015625 x 10° (1.9760 x 104 + - 1.9744 x 10^) by hand, assuming each...

    Calculate 1.666015625 x 10° (1.9760 x 104 + - 1.9744 x 10^) by hand, assuming each of the values are stored in the 16-bit half precision format IEEE 754-2008. IEEE 754-2008 contains a half precision that is only 16 bits wide. The left most bit is still the sign bit, the exponent is 5 bits wide and has a bias of 15, and the mantissa is 10 bits long. A hidden 1 is assumed. Assume 1 guard, 1 round bit,...

  • The answer below is correct, but can you guys show me how to get it? I...

    The answer below is correct, but can you guys show me how to get it? I need conplete solution. thanks Consider a 16-bit floating-point representation based on the IEEE floating-point format, with one sign bit, seven exponent bits (k=7), and eight fraction bits (n:8). The exponent bias is 27-1-1-63. Fill in the table that follows for each of the numbers given, with the following instructions for each column: Hex: the four hexadecimal digits describing the encoded form. M the value...

  • I need help with this please. Calculate:        3758 + 7728 =                           10111000101

    I need help with this please. Calculate:        3758 + 7728 =                           101110001012 + 101110001012 =                           ADF16 – 12316 =                           10100111012 - 6368 =     16 For the following do the subtraction in 2’s compliment arithmetic in binary. Use 8 bit size binary representation for each of the values below. All the following values are base 10 numbers. Show all work please.                           13 – 9 =                           29 – 45 =                           81 – 81 =                          ...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT