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

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

Hint

A normalized four-digit decimal significand is a number \(d_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.