this is my code:
double x,y;
double * p;
x = 5153.4260356;
p = & x;
y = * p; // y= x is ok
///////////////
but y !=x ? why?
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.
It works for me. It works with both the C6713 and the C6678.
Equality comparisons for floating point values can be tricky, but this particular test code works okay in the Debug configuration for either processor.
Regards,
RandyP