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

Discussion

In Q15 format a 16-bit signed value represents numbers in the range

  • A.\( -32768 \) to \( +32767 \)
  • B.\( 0 \) to just under \( +1 \)
  • C.\( -15 \) to \( +15 \)
  • D.\( -1 \) to just under \( +1 \)

Answer: D

Correct answer: \( -1 \) to just under \( +1 \)

Q15 places the binary point immediately below the sign bit, so the 16-bit integer is read as a fraction: the range runs from \( -1 \) to \( 1 - 2^{-15} \). The format is used where fractional arithmetic is needed on a processor with no floating point unit.

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

Post your comment

Please log in or register to post a comment.