annotate src/fftw-3.3.8/libbench2/pow2.c @ 168:ceec0dd9ec9c

Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 07 Feb 2020 11:51:13 +0000
parents bd3cc4d1df30
children
rev   line source
cannam@167 1 #include "libbench2/bench.h"
cannam@167 2
cannam@167 3 int power_of_two(int n)
cannam@167 4 {
cannam@167 5 return (((n) > 0) && (((n) & ((n) - 1)) == 0));
cannam@167 6 }