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

Discussion

Multiplying two Q15 numbers gives a result in

  • A.Q7, the precision being halved by the multiplication
  • B.Q30, which must be shifted right by 15 to return to Q15
  • C.Q15 directly, no adjustment being needed
  • D.Q45, the exponents having been multiplied

Answer: B

The fractional bits add, so the product of two Q15 values has thirty fractional bits and needs a 32-bit accumulator. Shifting right by fifteen returns it to Q15, and doing so before the multiplication instead loses the precision the accumulator preserved.

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

Post your comment

Please log in or register to post a comment.