Question

What is the biggest positive FP number that can be represented in 16-bit format using 1-bit...

What is the biggest positive FP number that can be represented in 16-bit format using 1-bit sign, 4-bit biased exponent, and 11-bit fraction, where bias is 7? (Show All Steps)

0 0
Add a comment Improve this question Transcribed image text
Answer #1
16-bit format

sign = 0(+ve)
exponent bits = 1110
    because 1111 is reserved/used for representing infinite value.
    so, 1110 is the exponent for largest positive number
frac bits = 11111111111

Now, let's convert this number to decimal and see what it is

0 1110 11111111111
sign bit is 0(+ve)
exp bits are 1110
   => 1110
   => 1x2^3+1x2^2+1x2^1+0x2^0
   => 1x8+1x4+1x2+0x1
   => 8+4+2+0
   => 14
in decimal it is 14
so, exponent/bias is 14-7 = 7
frac bits are 11111111111

IEEE-754 Decimal value is 1.frac * 2^exponent
IEEE-754 Decimal value is 1.11111111111 * 2^7
1.11111111111 in decimal is 1.99951171875
   => 1.11111111111
   => 1x2^0+1x2^-1+1x2^-2+1x2^-3+1x2^-4+1x2^-5+1x2^-6+1x2^-7+1x2^-8+1x2^-9+1x2^-10+1x2^-11
   => 1x1+1x0.5+1x0.25+1x0.125+1x0.0625+1x0.03125+1x0.015625+1x0.0078125+1x0.00390625+1x0.001953125+1x0.0009765625+1x0.00048828125
   => 1+0.5+0.25+0.125+0.0625+0.03125+0.015625+0.0078125+0.00390625+0.001953125+0.0009765625+0.00048828125
   => 1.99951171875
so, 1.99951171875 * 2^7 in decimal is 255.9375
so, 0111011111111111 in 16-bit format is 255.9375
Answer: 255.9375
Add a comment
Know the answer?
Add Answer to:
What is the biggest positive FP number that can be represented in 16-bit format using 1-bit...
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
  • (15 pt) A real number is represented by the IEEE floating format in 4-bit exponent and...

    (15 pt) A real number is represented by the IEEE floating format in 4-bit exponent and 6-bit fraction (ignore the sign bit). 9. What is the floating point representation of the number 53/11 in the format ? a. Exponent Fraction b. What are values of the following floating-point numbers in binary scientific notations (e.g. 1.10*29 ? 0000 000001 0101 010101

  • Assume a 10-bit floating point representation format where the Exponent Field has 4 bits

    Assume a 10-bit floating point representation format where the Exponent Field has 4 bits and the Fraction Field has 6 bits and the sign bit field uses 1 bit  S      Exponent Field: 4 bits       Fraction Fleld: 5 bits a) What is the representation of -8.80158 × 10-2 in this Format - assume bias =2M-1-1=24-1-1=7 (where N= number of exponent field bits) for normalized representation 1 -bias =-6 : for denormalized representationb) What is the range of representation for...

  • Given the binary value 01001111000 representing a IEEE style float using an 5 bit exponent and...

    Given the binary value 01001111000 representing a IEEE style float using an 5 bit exponent and 5 bit significand. Do NOT use spaces in answers. What is the bias used (in decimal) ? [b] What is the biased exponent (in binary) stored in this number [bb]?. What is the biased exponent (in decimal) represented by this number? [be] Express the value stored in mixed scientific notion. (Example 1.111111 x 2^100) ? [sig] x 2^[exp] What is the unsigned decimal integer...

  • Use a 10-­‐bit model for floating point numbers, where one bit is used for the sign...

    Use a 10-­‐bit model for floating point numbers, where one bit is used for the sign bit, 4 bits are used for the exponent with a bias of 7, and 5 bits are used for the fraction. What is the smallest and largest positive normal value that can be represented?

  • 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...

  • Consider a 9-bit floating-point representation based on the IEEE floating-point format, with one sign bit, four...

    Consider a 9-bit floating-point representation based on the IEEE floating-point format, with one sign bit, four exponent bits (k = 4), and four fraction bits (n = 4). The exponent bias is 24-1-1-7. The table that follows enumerates some of the values for this 9-bit floating-point representation. Fill in the blank table entries using the following directions: e : The value represented by considering the exponent field to be an unsigned integer (as a decimal value) E: The value of...

  • 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)...

  • 6. The exponent in IEEE format floating point numbers are not represented in 2's complement format....

    6. The exponent in IEEE format floating point numbers are not represented in 2's complement format. Why not? What number is indicated if the value stored in the exponent is zero? What exponent and fraction are used to represent "not-a-number"? 7. This question deals with two numbers in IEEE format (A - 0x3F400000, B 0x3DB00000 (a) Calculate A+B using the floating-point addition procedure discussed in class. Determine the single precision result and express your answer in IEEE floating-point format. Convert...

  • I would like a step by step explanation as to how the 7-bit floating point representations from Format A were converted...

    I would like a step by step explanation as to how the 7-bit floating point representations from Format A were converted to Format B. Thanks. Consider the following two 7-bit floating point representations based on the IEEE floating point format. Neither has a sign bit - they can only represent non-negative numbers. i). Format A. There are k=3 exponent bits. The exponent bias is 3. There are n=4 fraction bits. ii). Format B. There are k=4 exponent bits. The exponent...

  • 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...

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