Computer-Arithmetic-Solutions

# Computer-Arithmetic-Solutions - Systems of Floats...

This preview shows pages 1–5. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Systems of Floats ANSI/IEEE-754-1985 Exercises Exercise Express the following numbers as decimal (base 10) numbers: 1. ( 1101.0101 ) 2 2. ( 20.1 ) 3 3. ( 0.5624 ) 8 × 8 2 4. ( 0. A 3 B ) 16 × 16- 1 Systems of Floats ANSI/IEEE-754-1985 Exercises Exercise Compute the absolute and relative errors of the approximation e x of the quantity x in the following. 1. x = π , e x = 22 7 2. x = √ 2, e x = 1.414 3. x = e 10 , e x = 22000 4. x = 8!, e x = 39900 Systems of Floats ANSI/IEEE-754-1985 Exercises Exercise Perform the following computations (a) exactly, (b) in three-digit chopping (round-toward-zero) arithmetic, and (c) in three-digit rounding arithmetic. (d) Calculate the absolute and relative errors. 1. 4 5 + 1 3 2. 4 5 × 1 3 3. 1 3- 3 11 + 3 20 4. 1 3 + 3 11- 3 20 Systems of Floats ANSI/IEEE-754-1985 Exercises Exercise Perform the following computations (a) exactly, (b) in three-digit chopping (round-toward-zero) arithmetic, and (c) in three-digit rounding arithmetic. (d) Calculate the absolute and relative errors....
View Full Document

{[ snackBarMessage ]}

### Page1 / 11

Computer-Arithmetic-Solutions - Systems of Floats...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online