Mercurial > hg > sv-dependency-builds
view src/fftw-3.3.5/libbench2/pow2.c @ 153:84bc3a5ec321
Remove subrepo - trying to avoid these now
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 04 Dec 2018 10:27:12 +0000 |
parents | 7867fa7e1b6b |
children |
line wrap: on
line source
#include "bench.h" int power_of_two(int n) { return (((n) > 0) && (((n) & ((n) - 1)) == 0)); }