Hi all,
I am working on C671x DSP core and the following operation results in rounded off decimal value though the corresponding hex value is holding the precision.
y = m * x;
here,
m= 0.02( 0x3CA3D70A )
x = 9999.999 ( 0x461C3FFF)
Expected output: 199.99998, but the actual output observed in watch window is 200.0. But the hex value is 0x4347FFE and this corresponds to 199.99997. Why this rounding off to 200.0 happens and is there a way to prevent it?
Thank you
Jai