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 agoIt is much simpler than your thoughts.
Rounding is done when you divide a value and in your case when you discard 32 bits. (= /2^32). you can either discard directly without any else since your datawidth is 32 bits. or you round up to nearest value. The issues of deimal point is matter of interpretation of value, nothing else.