I tested the following code on xc7z020. However, the output was not as expected. When using int instead of double,
the output is ok. Is there any optimization for "double" variables? Or anyone can tell me the reason ....
Ok .... I tested something else
For the above source code, the output is ok.
However, the following one, output of which is wrong ....