CORDIC_FLOAT
buf[i] = CORDIC_FLOAT((sample.i * max) & 0xFF) << 8;
buf[i] |= CORDIC_FLOAT((sample.q * max) & 0xFF);
samples[i].q = CORDIC_FLOAT(samples[i].q * max);
samples[i].i = CORDIC_FLOAT(samples[i].i * max);
i_samp = (u16)(CORDIC_FLOAT(tone_samp.i * max_val) & 0x3ff);
q_samp = (u16)(CORDIC_FLOAT(tone_samp.q * max_val) & 0x3ff);
tone_buf[t].q = (s32)CORDIC_FLOAT(tone_buf[t].q * max_val);
tone_buf[t].i = (s32)CORDIC_FLOAT(tone_buf[t].i * max_val);
if (CORDIC_FLOAT(theta) > 90) {
} else if (CORDIC_FLOAT(theta) < -90) {