Question

Floating Point Representation Consider a computer that stores information using 10 bits words. The first bit...

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 on this computer?

c. What is the lowest positive number that can be stored on this computer?

d. Determine the machine epsilon.

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

a)

Sign bit = 1 => this means that the number is negative

Exponent sign = 0 => this means that it is positive

Exponent magnitude = 0010 = 2

Normalized Mantissa = 1.1001 = 1.5625

Hence, the number is -1.5625 * 22 = -6.25

b)

For the highest number,

sign bit = 0

Exponent sign = 0

Exponent magnitude = 1111 = 15

Mantissa = 1111

The number is equivalent to 1.9375 * 215 = 63588

c)

And, for the lowest positive number

sign bit = 0

Exponent sign = 1

Exponent magnitude = 1111 = 15

Mantissa = 0000

The number is equivalent to 1 * 2-15 = 0.00003051757812

NOTE: As per Chegg policy, I am allowed to answer specific number of questions (including sub-parts) on a single post. Kindly post the remaining questions separately and I will try to answer them. Sorry for the inconvenience caused.

Add a comment
Know the answer?
Add Answer to:
Floating Point Representation Consider a computer that stores information using 10 bits words. The first 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
  • 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...

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

  • (30 pts) In addition to the default IEEE double-precision format (8 byte 64 bits) to store...

    (30 pts) In addition to the default IEEE double-precision format (8 byte 64 bits) to store floating-point numbers, MATLAB can also store the numbers in single-precision format (4 bytes, 32 bits). Each value is stored in 4 bytes with 1 bit for the sign, 23 bits for the mantissa, and 8 bits for the signed exponent: Sign Signed exponent Mantissa 23 bits L bit 8 bits Determine the smallest positive value (expressed in base-10 number) that can be represented using...

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

  • A certain microcomputer uses a binary floating-point format with 4 bits for the exponent contains 4...

    A certain microcomputer uses a binary floating-point format with 4 bits for the exponent contains 4 bits. The arithmetic e and 1 bit for the sign sigma. The normalized mantissa uses rounding. (a) Find the machine epsilon, i.e., the distance between 1 and the next larger floating- point number. (b) Let x = (7.125)_10. Find its floating-point approximation A(x). Give A(x) in decimal. (c) What is the relative error in A(x)

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

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

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

  • For a hypothetical 7-bit decimal (Base-10) computer which uses 1 bit for sign of exponent, 1...

    For a hypothetical 7-bit decimal (Base-10) computer which uses 1 bit for sign of exponent, 1 bit for magnitude of exponent, 1 bit for sign of mantissa and 4 bits for magnitude of mantissa, determine the largest and smallest numbers that can be represented.

  • Problem 5 (20 points) Consider a floating point number representation that is 16 bit wide. The...

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

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