Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise Points ] : a ) Consider: 1 - 1 - l o n 2 . Identify the problematic subtraction in this expression and give

Exercise Points]:
a) Consider:
1-1-lon2.
Identify the problematic subtraction in this expression and give an algebraically equivalent formulation of 1-1-lon2 that does not suffer from this problematic subtraction for |lon|1. Briefly explain your choice. Hint: Multiply by a fraction (equal to one) which removes the problematic subtraction
b) Use lon=0.0002 and write it in floating point representation with a mantissa of k=4 digits precision and base b=10. Show that your equivalent formulation is much more accurate for lon=0.0002 compared to the original formulation in a).
c) Use the theorem that was shown in class to predict the number of lost significant bits (i.e. in base 2) when executing the problematic subtraction for lon=0.0002.
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

Oracle 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

More Books

Students also viewed these Databases questions

Question

What is the relationship between diversity, inclusion, and equity?

Answered: 1 week ago