Updates
This commit is contained in:
6
fftw-3.3.10/libbench2/pow2.c
Normal file
6
fftw-3.3.10/libbench2/pow2.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "libbench2/bench.h"
|
||||
|
||||
int power_of_two(int n)
|
||||
{
|
||||
return (((n) > 0) && (((n) & ((n) - 1)) == 0));
|
||||
}
|
||||
Reference in New Issue
Block a user