This commit is contained in:
fbarchard 2025-02-17 09:14:31 +01:00 committed by GitHub
commit ee67445e01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,7 @@ struct kiss_fft_state{
(m).i = sround( smul((a).r,(b).i) + smul((a).i,(b).r) ); }while(0)
# define DIVSCALAR(x,k) \
(x) = sround( smul( x, SAMP_MAX/k ) )
(x) = sround( smul( x, (SAMPPROD)(1u<<FRACBITS)/k ) )
# define C_FIXDIV(c,div) \
do { DIVSCALAR( (c).r , div); \