Mercurial > hg > sv-dependency-builds
view src/fftw-3.3.3/libbench2/pow2.c @ 30:553a5f65ef64
Updates to use dw2 exceptions instead of sjlj (in line with Qt5 MinGW distribution)
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2014 17:02:21 +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)); }