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.

CCS/CC3220SF: Code Composer Studio Exponent Function

Part Number: CC3220SF

Tool/software: Code Composer Studio

Hi,

Can you help me about the exponent function? For example 2^3=8 ; 2^6=64 ; 2^(-1)=0.5.

I used Pow(x1,x2) function but I got results as '0' everytime.

Can you inform me about right function?

thanks.

  • The type double is used for both arguments and the return type.  Be sure your code expects that behavior.

    If that doesn't fix the problem, then show the how you call the function.  Be sure the types of the arguments and the return value are clearly shown.  Also show, by comments or something similar, the values of the arguments.

    Thanks and regards,

    -George