1. Find the 32-bit single-precision representation for each number. Assume the format1223e where1unless the number is zero.
a. 12.0625
b. −18.1875
c. 2.7
2. Assume you are performing decimal arithmetic with significant digits. Using rounding, perform the following calculations:
34
3. Using four significant digits, compute the absolute and relative error for the following conversion to floating point form.
11
22
4. Verify the error bounds for addition and multiplication. Use
5. Assume we are using IEEE double-precision arithmetic.
What is the error bound in computing the sum of 20 positive floating point numbers?
What is the error bound in computing the product of 20 floating point numbers?
6. Ifminmax findminandmax
7. By constructing a counterexample, verify that floating-point addition and multiplication, and do not obey the distributive law
8. Show that, unlike the operation the operation is not associative. In other words in general.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here