sweethomela8
Member level 4
Hi I want to multiply a 12 bit fixed point (1QN format CORDIC format). sign bit, integer bit, and 10 fractional bits, with another integer value. say decimal 360.
What needs to be done to do the multiplication correctly and still prevent overflow and misinterpretation of the result?
Thanks.
Added after 32 minutes:
For example...say I want to multiply 1.5 by 360..
+1.5 = 01.1000000000
to multiply it by 360 (unsigned 0101101000),
can I just multiply it directly?
Do i have to represent 360 in that same 1QN format?
in other words..
0101101000.0000000000 and then sign extend +1.5 to
0000000001.1000000000?
thanks.
What needs to be done to do the multiplication correctly and still prevent overflow and misinterpretation of the result?
Thanks.
Added after 32 minutes:
For example...say I want to multiply 1.5 by 360..
+1.5 = 01.1000000000
to multiply it by 360 (unsigned 0101101000),
can I just multiply it directly?
Do i have to represent 360 in that same 1QN format?
in other words..
0101101000.0000000000 and then sign extend +1.5 to
0000000001.1000000000?
thanks.