Question

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 the exponent after biasing (as a decimal value) 2E: The numeric weight of the exponent (as a decimal floating point value) f: the value of the fraction (as a fractional decimal value such as 0.1234) M : The value of the significand (as a floating value such as 1.2345) s 2E M: The value of the number in decimal (as a signed decimal floating point value). The s is equal to +1 if the number is positive and -1 if it is negative. Finally, please DO NOT USE fractions and type the decimal values very precisely (accurate to the last decimal place). Bits e E 2 s*2E M 1110 1011 0 0110 1001 1 0000 1100

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

1.

Bits: 1 1110 1011

e=11102 =1410

E=14-7=7

2E=27 =128

f=0.10112=0.5+0.125+0.0625=0.6875

M=1.6875

s*2E*M=(-1)*128*1.6875= -216 //sign bit negative

2.

Bits: 0 0110 1001

e=01102 =610

E=6-7= -1

2E=2-1 =0.5

f=0.10012=0.5+0.0625=0.5625

M=1.5625

s*2E*M=(+1)*0.5*1.5625= 0.78125 //sign bit positive

3.

Bits: 1 0000 1100

e=00002 =010

E=0-7= -7

2E=2-7 =0.0078125

f=0.11002=0.5+0.25=0.75

M=1.75

s*2E*M=(-1)*0.0078125*1.75= -0.013671875 //sign bit negative

Add a comment
Know the answer?
Add Answer to:
Consider a 9-bit floating-point representation based on the IEEE floating-point format, with one sign bit, four...
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
  • If we use the IEEE standard floating-point single-precision representation (1 sign bit, 8 bit exponent bits...

    If we use the IEEE standard floating-point single-precision representation (1 sign bit, 8 bit exponent bits using excess-127 representation, 23 significand bits with implied bit), then which of the following hexadecimal number is equal to the decimal value 3.875? C0780000 40007800 Oo 40780000 40A80010 The binary string 01001001110000 is a floating-point number expressed using a simplified 14-bit floating-point representation format (1 sign bit, 5 exponent bits using excess-15 representation, and 8 significand bits with no implied bit). What is its...

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

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

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

  • I would like a step by step explanation as to how the 7-bit floating point representations...

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

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

  • 1 please IEEE-754 Floating point conversions problems (assume 32 bit machine): 1. For IEEE 754 single-precision...

    1 please IEEE-754 Floating point conversions problems (assume 32 bit machine): 1. For IEEE 754 single-precision floating point, write the hexadecimal representation for the following decimal values: a. 27.1015625 b.-1 2. For IEEE 754 single-precision floating point, what is the decimal number, whose hexadecimal representation is the following? a. 4280 0000 b. 7FE4 0000 c. 0061 0000 3. For IEEE-754 single-precision floating point practice the following problem: Suppose X and Y are representing single precision numbers as follows: X 0100...

  • 2. Convert the following real numbers into single precision IEEE floating point format. Give the final...

    2. Convert the following real numbers into single precision IEEE floating point format. Give the final answer in hexadecimal and specify: the sign bit, exponent bits, and significand bits. Show your work. (10 + 10 points) A. 69.625 B. -123.7 the following IEEE single precision floating point numbers. Show your work. (10 + 10 points) A. 0xc1be0000 B. 0x42c68000

  • Find the precision of IEEE 754 FP code on 64-bit machines? • Double Precision Floating Point...

    Find the precision of IEEE 754 FP code on 64-bit machines? • Double Precision Floating Point Numbers (64 bits) – 1-bit sign + 11-bit exponent + 52-bit fraction S Exponent11 Fraction52 (continued)

  • 2. Represent 25.28255 in 32 bit IEEE-754 floating point format as shown in the following format...

    2. Represent 25.28255 in 32 bit IEEE-754 floating point format as shown in the following format discussed in class. Sign Bit BIT 31 Exponent BITS 30:23 Mantissa BITS 22:0 BYTE 3+1 bit 7 Bits BYTE 1 BYTE O

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