mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-07-18 21:14:24 -04:00
added kiss_fft_next_fast_size() to determine the next number divisible by the radices 2,3,5
This commit is contained in:
@ -23,6 +23,10 @@ int main(int argc,char ** argv)
|
||||
switch (c) {
|
||||
case 'n':
|
||||
nfft = atoi (optarg);
|
||||
if (nfft != kiss_fft_next_fast_size(nfft) ) {
|
||||
int ng = kiss_fft_next_fast_size(nfft);
|
||||
fprintf(stderr,"warning: %d might be a better choice for speed than %d\n",ng,nfft);
|
||||
}
|
||||
break;
|
||||
case 'x':
|
||||
numffts = atoi (optarg);
|
||||
|
Reference in New Issue
Block a user