Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The floating point representation of a real number has the form x = + - ( 0 . d 1 d 2 d o t

The floating point representation of a real number has the form x=+-(0.d1d2dotsdn)*e, where d10,0di-1,-MeM.
a) Suppose =2,n=4,M=3. How many different numbers can be represented in this system?
b) Find f(22), the floating point representation of 22 in this system. Apply the usual rules for rounding numbers up and down. Then express the final result in decimal form. How large is the roundoff error?
c) In class we saw that xmax=7.5,xmin=0.0625(these are the largest and smallest positive numbers that can be represented in this system). Suppose we switch to a system with n=5. Find the new values of xmax,xmin.
image text in transcribed

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 Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

More Books

Students also viewed these Databases questions

Question

Identify the main sources of stress and how it affects health.

Answered: 1 week ago

Question

=+3. What are the characteristics of media enterprises?

Answered: 1 week ago

Question

=+1. What are the product specifications of media products?

Answered: 1 week ago