Question

.A floating-point number representation on a certain system has a sign bit, a 4-bit exponent and...

.A floating-point number representation on a certain system has a sign bit, a 4-bit exponent and a 5-bit significand.

Please provide steps taken to get the answer

a) What is the largest positive and the smallest positive number that can be stored on this system if the storage is normalized? (Assume no bits are implied, there is no biasing, exponents use two's complement notation, and exponents of all zeros and all ones are allowed.)

b) What bias should be used in the exponent if we prefer all exponents to be nonnegative? Why would you choose this bias?

Homework Answers

Answer #1

Solution

Largest Positive

0.11112 * 24

= 0.9375*16

= 15

Largest positive is 15

Smallest Positive

0.12 x 2-5

= .0000012

= 1/64

= 0.015625

Smallest positive is 0.015625

For all non-negative exponents, we would need a bias of 4

--

all the best

Know the answer?
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
Similar Questions
Given a 12-bit IEEE floating point format with 5 exponent bits: Give the hexadecimal representation for...
Given a 12-bit IEEE floating point format with 5 exponent bits: Give the hexadecimal representation for the bit-pattern representing −∞−∞. Give the hexadecimal representation for the bit-patterns representing +0 and -1. Give the decimal value for the floating point number represented by the bit-pattern 0xcb0. Give the decimal value for largest finite positive number which can be represented? Give the decimal value for the non-zero negative floating point number having the smallest magnitude. What are the smallest and largest magnitudes...
Concern the following 16-bit floating point representation: The first bit is the sign of the number...
Concern the following 16-bit floating point representation: The first bit is the sign of the number (0 = +, 1 = -), the next nine bits are the mantissa, the next bit is the sign of the exponent, and the last five bits are the magnitude of the exponent. All numbers are normalized, i.e. the first bit of the mantissa is one, except for zero which is all zeros. 1. How many significant binary digits do numbers in this representation...
Assuming a 5-bit IEEE (754 standard) floating-point format where 1 bit is used for the sign,...
Assuming a 5-bit IEEE (754 standard) floating-point format where 1 bit is used for the sign, 3 bits for the exponent, and 1 bit for the fraction, write the formulas for the exponent E, the significand M, the fraction f, and the value V for the quantities that follow and also describe the bit representation. Please show all steps to receive full credit. The number 5.0 The largest odd integer that can be represented exactly The reciprocal of the smallest...
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits:...
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits: exponent 52 bits: mantissa. Calculate largest number that can be stored accurately Calculate smallest number (x>0) that can be stored accurately Calculate the machine epsilon Show all work step by step and explain calculations Now calculate the largest number and smallest number for a 10 bit floating point (1 bit for the sign, 4 bits exponent and 5 bits mantissa)
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits:...
Matlab uses IEEE double precision numbers: 64-bit floating point representation 1 bit : sign 11 bits: exponent 52 bits: mantissa. Calculate largest number (less than inf) that can be stored accurately Calculate smallest number (x>0) that can be stored accurately Calculate the machine epsilon Show all work step by step and repeat for 10 bit floating point (bit sign, 4 bits exponent and 5 bits mantissa)
Assume we are using the simple model for floating-point representation as given in the book (the...
Assume we are using the simple model for floating-point representation as given in the book (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 16, a normalized mantissa of 8 bits, and a single sign bit for the number). Show how the computer would represent the numbers 96.5 and -0.75 using this floating-point format. [10]
urgent: Consider a 5-bit floating point representation based on the IEEE floating point format with one...
urgent: Consider a 5-bit floating point representation based on the IEEE floating point format with one sign bit, the next two bits of the exponent (exponent bias is 1), and the last two bits of the significand. Fill in the table below. For column M and Value, your answer must be expressed as a fraction of the form x/4. Bits M E Value 0 01 00 0 01 01 0 01 10 0 01 11 0 10 00 1 4/4...
Assume we are using the simple model for the floating-point representation given in this book (the...
Assume we are using the simple model for the floating-point representation given in this book (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15, a zero-normalized mantissa of 8 bits, and a single sign bit). What is the real number represented by 01110010000101? Show how the computer would add this number with 238.5 using the floating-point addition algorithm. Verify your results by adding them in decimal, what is the relative error in the...
1a) 0xCAFE can be written in decimal (base 10) as: 1b) The decimal number -94 can...
1a) 0xCAFE can be written in decimal (base 10) as: 1b) The decimal number -94 can be expressed (in 8 bits) Using signed magnitude representation as: Using one's complement representation as: Using two's complement representation as: Using excess-M representation (with the appropriate value of M) as: 1c) Using the simple floating point model (1-bit sign, 5-bit biased exponent, and 8-bit significand), the number -0.125 (decimal) can be expressed as: (Do not use spaces or any English text. Provide only the...
Find the internal representation of the following decimal number in the Single Precision Floating Point format...
Find the internal representation of the following decimal number in the Single Precision Floating Point format of the value: -17.6 Non-terminating fractions should be carried out 6 places. You will show the different steps involved in this transformation by filling out the fields below. The value 17 in binary is ___ 2 (no leading or trailing zeroes). The value .6 in binary is ____ 2 (complete to 6 places) Normalized fraction: 1.____ 2 x 2Exponent. Exponent=_____. Biased Exponent in Binary:...