2025-08-29ΒΆ
1) I have invented my own floating point number format. Each number is stored in 13 bits. The first bit is the sign of the number. The next 3 bits are the exponent and its sign. The remaining bits are the mantissa (significant digits). What is the largest value \(\epsilon\) such that \(1 \oplus \epsilon = 1\) in my floating point system (machine epsilon)?
\(2^{-13}\)
\(2^{-10}\)
\(2^{-9}\)
\(2^{-3}\)
2) In Canada, purchases made in cash are rounded to the nearest 5 cents. Suppose you purchased a TTRPG (role playing game) for $10.97. Suppose that you pay in cash. What is the absolute error between the amount you paid for your purchase and the true cost?
2 cents
3 cents
4 cents
5 cents
3) Machine epsilon for a floating point number system is defined as the value \(\epsilon\) such that \(1 \oplus \epsilon = 1\). Use this relationship to explain why the smallest possible absolute difference between any two values exactly representable in the floating point number system grows as the size of the numbers grows. How does this fact demonstrate the importance of relative error?