FastLED 3.9.15
Loading...
Searching...
No Matches

◆ kiss_fft_next_fast_size()

int kiss_fft_next_fast_size ( int n)

Definition at line 390 of file kiss_fft.c.

391{
392 while(1) {
393 int m=n;
394 while ( (m%2) == 0 ) m/=2;
395 while ( (m%3) == 0 ) m/=3;
396 while ( (m%5) == 0 ) m/=5;
397 if (m<=1)
398 break; /* n is completely factorable by twos, threes, and fives */
399 n++;
400 }
401 return n;
402}