view src/fftw-3.3.3/libbench2/pow2.c @ 37:892ab0545588

Remove Vamp SDK (at least from OSX directory). We're beginning to include it in the main build instead.
author Chris Cannam
date Fri, 18 Mar 2016 14:04:03 +0000
parents 37bf6b4a2645
children
line wrap: on
line source
#include "bench.h"

int power_of_two(int n)
{
     return (((n) > 0) && (((n) & ((n) - 1)) == 0));
}