Other Parts Discussed in Thread: CCSTUDIO
Tool/software: Code Composer Studio
I am using CCStudio 6.2 64 bit . The program goes like
long int d2;
int d1 = -961;
d2 = 987 * d1;
The correct result for d2 to be displayed is - 948507.( 11111111111100011000011011100101 )
But it displays -31003 ( 111111111111111111000011011100101 ).
What is the issue here, since d2 has already been declared as long..?