Question

Problem 5 (20 points) Consider a floating point number representation that is 16 bit wide. The leftmost bit is the sign bit, and the next 5 bits from the left make up an exponent (which has a bias of 15). The remainder 10 bits give the magnitude of the number. This representation assumes a hidden 1. Consider the number -1.3215 x 10-1 How doe its rine and acrac cmpare wit a he same number, this time b) How does its range and accuracy compare with that of the same number, this time represented in IEEE 754 format? Justify your answer. c) Calculate the product of the number by itself by hand. d) Briefly describe the steps involved in a computer calculated result of this product

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

IF YOU HAVE ANY DOUBTS PLEASE COMMENT BELOW

PLZZZZZZ RATE THUMBSUP PLZZZZZZZZZZZZZ

ANS:

THIS IS ARTHEMATIC FOR COMPUTERS

a. bit representation - 0(sign) 11111 ( Exponent) 1111111111 mantissa

b .Accuracy in floating point representation is governed by number of significand bits, whereas range is limited by exponent.

A bias of (2n-1 – 1), where n is # of bits used in exponent, is added to the exponent (e) to get biased exponent (E), therefor here it would be 2^5-1=15;

Largest number will be 1.111111111×2^(+15)

Smallest = 1.00000×2^(-15)

whereas IEEE 754 has
Largest = 1. 1 1 1 … x 2^ +127 = 2 x 10 ^+38 (aprrox for 32 bit representation)
Smallest = 1.000 … x 2 ^–128 = 1 x 10 ^-38 (aprrox for 32 bit representation)

c & d:

let A = -1.3215 x 10^-1
Step 1. Exponent of A x A = -1 + (-1) = -2
Step 2. Multiply significands
-1.3215 x -1.3215 = 1.74636225
Step 3. Normalize the product
1.74636225 = 1.74636225 x 10^0
Step 4. Round off
A x A = 1.7463 x 10^0
Step 5. Decide the sign of A x B (- x - = +)
So, A x B = + 1.7463 x 10^0

PLZZZZZZZZ RATE THUMBSUP

Add a comment
Know the answer?
Add Answer to:
Problem 5 (20 points) Consider a floating point number representation that is 16 bit wide. The...
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
  • IEEE 754-2008 contains a half precision that is only 16 bits wide. The leftmost bit is...

    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.6875 X 100 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 16-bit floating...

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

  • Inspired of the IEEE 754 standard, a floating point format that is only 10 bits wide is defined f...

    Inspired of the IEEE 754 standard, a floating point format that is only 10 bits wide is defined for a special computer. The leftmost bit is still the sign bit, the exponent is 5 bits wide and has a bias of 15, and the fractions is 4 bits long. A hidden 1 is assumed for the normal number, but not for the denormalized number. c) Construct a case to show that floating point addition is not associative

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

  • IEEE 754-2008 contains a half precision that is only 16 bits wide. The leftmost bit is...

    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.5625 * 10-2 assuming a version of this format. Calculate the sum of 2.6125*102 and 4.150390625 * 10-1 by hand, assuming both numbers are stored in the 16-bit half...

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

  • Can you write process of the question? A fictional floating-point encoding scheme uses 1 bit for...

    Can you write process of the question? A fictional floating-point encoding scheme uses 1 bit for sign followed by 1 bit for the exponent and 2 bits for the mantissa. It otherwise behaves exactly like the IEEE 754 encoding scheme. List down all decimal values that can be represented by this scheme along with their binary representation.

  • Assuming IEEE 754 single-precision floating-point number representation, calculate the floating point number the following bit pattern...

    Assuming IEEE 754 single-precision floating-point number representation, calculate the floating point number the following bit pattern represent. Show your work to get credit. 1100 0000 0011 0000 0000 0000 0000 0000

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