This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28075: double in watch and expression windows

Part Number: TMS320F28075

Tool/software: Code Composer Studio

I defined a variable as double in my program and added it to watch window.

I noticed the watch window displays is as float i.e. the number of digits in exponent is same as float number.

Also when I try to modify it in watch windows, the number of exponent digits are same as float.

Is there any setting to change the number digits in watch and expression windows?

MHG

  • MHG,

    Take a look at section 6.4 in the compiler manual:

    On C2000 float and double are both 32bit and will appear the same in the expressions view.  I think you are looking for long double.

    Here is a snapshot of the data types table:

    Regards,

    John