Questions: Machine Epsilon and Unit Roundoff

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A programmer computes 1.0 + 1e-20 in double-precision floating point. What result does the computer return?

A1.00000000000000000001 — the addition is stored exactly
B1.0 — the added value is smaller than machine epsilon and is lost to rounding
CA runtime overflow error — the result exceeds representable range
DAn indeterminate value — floating-point addition is non-deterministic
Question 2 Multiple Choice

Double-precision machine epsilon is approximately 2.22×10⁻¹⁶. A stored number x has true value 10¹². What is the worst-case absolute rounding error when x is stored?

AAbout 2.22×10⁻¹⁶ — machine epsilon is the absolute error bound
BAbout 1.11×10⁻⁴ — the relative error bound ε/2 applied to the magnitude of x
CZero — large numbers are stored exactly in floating point
DUnbounded — machine epsilon only applies near the value 1
Question 3 True / False

Machine epsilon tells us that any real number stored in floating point differs from its true value by at most ε_mach in absolute terms.

TTrue
FFalse
Question 4 True / False

In IEEE 754 double precision, the gap between 1.0 and the next representable floating-point number equals machine epsilon.

TTrue
FFalse
Question 5 Short Answer

Why is machine epsilon described as a relative error bound rather than an absolute one, and why does this distinction matter for numerical computations involving very large or very small numbers?

Think about your answer, then reveal below.