Machine-translated by Google. Questions are authored in English.
Top

Discussion

The accuracy of the floating-point numbers representable in two 16-bit words of a computer is approximately

  • A.16 digits
  • B.6 digits
  • C.9 digits
  • D.All of above

Answer: B

Correct answer: 6 digits

Two 16-bit words give 32 bits, of which the standard single-precision format uses 24 for the significand (23 stored plus one implied). Since

\[ 2^{24} \approx 1.7 \times 10^{7} \]

that is worth about 7 decimal digits, of which 6 can be relied on. Doubling the storage to 64 bits raises it to roughly 15.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.