mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-07-18 13:04:19 -04:00
added some code for 32 bit fixed point fft -- may not be suitable for all platforms
This commit is contained in:
@ -134,8 +134,8 @@ void kf_cexp(kiss_fft_cpx * x,double phase) /* returns e ** (j*phase) */
|
||||
x->r = (kiss_fft_scalar) (SAMP_MAX * cos (phase));
|
||||
x->i = (kiss_fft_scalar) (SAMP_MAX * sin (phase));
|
||||
#else
|
||||
x->r = cos (phase);
|
||||
x->i = sin (phase);
|
||||
x->r = (kiss_fft_scalar) cos (phase);
|
||||
x->i = (kiss_fft_scalar) sin (phase);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user