Mercurial > hg > sv-dependency-builds
view 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 |
line wrap: on
line source
#include "bench.h" int power_of_two(int n) { return (((n) > 0) && (((n) & ((n) - 1)) == 0)); }