Hello:
I am trying to manipulate the complex values in CCSv5 and run in C6713 dsk.
What confused me was that I added header file "complex.h" and called the function creal and cimag. Both of them worked.
But if i want to call abs to determine the magnitude of the complex number, it did not work properly. It should incorrect values instead.
Snapshot:
You see, the first and second was correct but the third one, it was supposed to be "5.0" but why it showed -1.0?
I really don't know why this weird problem happend? Is abs obsolete or changed according to the update of the lib?
Thank you
Yu