Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions