I am using double precision values and
although the end calculation looks correct (eventually converted to
int) the watch window displays the double values incorrectly. It looks
like the byte order is being interpreted incorrectly. IE: I have the
value 4792.5 and in ascending order in memory it is: 0x00 0x00 0x00 0x00
0x80 0xB8 0xB2 0x40 However the watch window shows it as:
5.362857607874241e-315 Some trouble shooting shows this value as reverse
byte order of above. As I said final calculation is correct so I
believe compiler is fine and it is only a debug display problem. Is
there a way to set up debug window for proper byte order? The processor I am using is the LM3S3748 and CCS.