Forum Discussion
Altera_Forum
Honored Contributor
14 years agoMultiplication Rounding
Hey guys, I am multiplying two 32 bit numbers using LPM_MULT. Each number is in Q16.16 fixed point format. The product is a 64 bit Q32.32 number. I then shift the product to the ri...
Altera_Forum
Honored Contributor
14 years agoI'm afraid you can't have your cake and eat it too.
If you need to represent numbers into the range of 14, you need to either a) use Q4.2, 6 bits total b) use Q4.0, 4 bits total but no fractional part