this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update _kiss_fft_guts.h

Fix for DIVSCALAR off by 1 (#83)

authored by

fbarchard and committed by
GitHub
47e321b1 8f47a67f

+1 -1
+1 -1
_kiss_fft_guts.h
··· 71 71 (m).i = sround( smul((a).r,(b).i) + smul((a).i,(b).r) ); }while(0) 72 72 73 73 # define DIVSCALAR(x,k) \ 74 - (x) = sround( smul( x, SAMP_MAX/k ) ) 74 + (x) = sround( smul( x, (SAMPPROD)(1u<<FRACBITS)/k ) ) 75 75 76 76 # define C_FIXDIV(c,div) \ 77 77 do { DIVSCALAR( (c).r , div); \