annotate src/fftw-3.3.3/libbench2/pow2.c @ 118:a8541380d3e0

Ah, we've already done this. Merge, taking everything from the branch with the older commits.
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 04 Jul 2014 10:37:37 +0100
parents 89f5e221ed7b
children
rev   line source
cannam@95 1 #include "bench.h"
cannam@95 2
cannam@95 3 int power_of_two(int n)
cannam@95 4 {
cannam@95 5 return (((n) > 0) && (((n) & ((n) - 1)) == 0));
cannam@95 6 }