AnsweredAssumed Answered

Variables with calculated values

Question asked by ChristianH on Jun 17, 2014
Latest reply on Jul 9, 2014 by ChristianH

Hi,

 

I'm programming SHARC DSPs with VDSP 5.1.

I'd like to create variables with values that are based on a calculation.

I know it's possible with other IDEs I use (not from ADI).

 

Example:

.var LOG10_2_CONSTANT = 0.30103;

 

How can I solve this with a formula like LOG10(2.0)?

Also some other calculation would be helpful e.g. exp, sqrt, x^y etc.

 

Thanks!

Christian

Outcomes