fract16 phase_fr16;
fract16 mag_fr16;
phase_float = PI;
phase_fr16 = (phase_float / (2*PI)) * 32768.0;
mag_fr16 = 0x0200;
point = polar_fr16 (mag_fr16,phase_fr16);
/* point.re = 0xfe00 */
/* point.im = 0x0000 */
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
DSP Run-Time Library
4-93
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?