Skip to main content

Numerical Methods · Floating-point arithmetic, conditioning, and stability

A decimal floating-point system uses base β = 10, precision t = 4, and exponent range…

Problem

Numerical Methods practice problem

A decimal floating-point system uses base β=10\beta = 10, precision t=4t = 4, and exponent range −2≤e≤3-2 \le e \le 3. Normalized significands satisfy 1≤d0.d1d2d3<101 \le d_0.d_1 d_2 d_3 < 10. List every positive machine number of the form m×10em \times 10^{e} with e=0e = 0. Then compute the absolute and relative gaps between consecutive machine numbers at x=1x = 1 and at x=9.999×100x = 9.999 \times 10^{0}.

Hint

Hint

A normalized four-digit decimal significand is a number d0.d1d2d3d_0.d_1 d_2 d_3 with leading digit nonzero.

Check your work

Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.

Create a free account to check your answer and see the solution. Create a free account.

More Numerical Methods practice problems

Back to Numerical Methods

An original ProofAnvil practice problem, written for this course. ProofAnvil is a practice course, not a homework-answer service.