Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 3 Assume that we have a computer that stores a floating-point number in a 12-bit word with 1 bit for the sign, 5 bits
Problem 3 Assume that we have a computer that stores a floating-point number in a 12-bit word with 1 bit for the sign, 5 bits for the characteristic, and 6 bits for the mantissa: ( sign (1 bit) | characteristic (5 bits) | mantissa (6 bits) ]. This representation is in base 2 with the mantissa in 1-plus form. (i) What are the lower and upper extents of the characteristic? (ii) Assuming that the lower and upper extents are reserved for 0 and a respectively, what is the offset that is needed to insure that both negative and positive exponent values are equally represented? (iii) With this offset, what number is represented by the string [1 | 01011 001101]? What is this string if the mantissa is not in 1-plus form? (iv) Determine the approximate machine epsilon for this computer when the mantissa is in 1-plus form. Problem 3 Assume that we have a computer that stores a floating-point number in a 12-bit word with 1 bit for the sign, 5 bits for the characteristic, and 6 bits for the mantissa: ( sign (1 bit) | characteristic (5 bits) | mantissa (6 bits) ]. This representation is in base 2 with the mantissa in 1-plus form. (i) What are the lower and upper extents of the characteristic? (ii) Assuming that the lower and upper extents are reserved for 0 and a respectively, what is the offset that is needed to insure that both negative and positive exponent values are equally represented? (iii) With this offset, what number is represented by the string [1 | 01011 001101]? What is this string if the mantissa is not in 1-plus form? (iv) Determine the approximate machine epsilon for this computer when the mantissa is in 1-plus form
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started