annotate src/fftw-3.3.5/libbench2/pow2.c @ 165:7e6e71a29886

Update build for AUDIO_COMPONENT_FIX
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 30 Oct 2019 12:40:34 +0000
parents 7867fa7e1b6b
children
rev   line source
cannam@127 1 #include "bench.h"
cannam@127 2
cannam@127 3 int power_of_two(int n)
cannam@127 4 {
cannam@127 5 return (((n) > 0) && (((n) & ((n) - 1)) == 0));
cannam@127 6 }