annotate src/fftw-3.3.3/libbench2/pow2.c @ 33:879bdc878826

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