Part Number: MSP430F2618
Tool/software: Code Composer Studio
I am trying to compare a floating point variable to infinity.
#include <math.h> float f; if (f==INFINITY) ...
works in code composer 6.1.1, but does not work in 7.4.0.
It actually worked for a while in CCS7, then started showing an error at some point, maybe after I changed the debugging settings to erase main and information memory instead of just erase main memory?
I changed it back, but it didn't help.
It probably isn't relevant, but the processor I'm using is MSP430F2618.
Am I missing something here?