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

◆ kiss_fft_next_fast_size()

int kiss_fft_next_fast_size ( int n)

Definition at line 420 of file kiss_fft.cpp.hpp.

421{
422 while(1) {
423 int m=n;
424 while ( (m%2) == 0 ) m/=2;
425 while ( (m%3) == 0 ) m/=3;
426 while ( (m%5) == 0 ) m/=5;
427 if (m<=1)
428 break; /* n is completely factorable by twos, threes, and fives */
429 n++;
430 }
431 return n;
432}

References FL_NOEXCEPT.