diff options
author | pixel <pixel> | 2003-02-09 19:29:46 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-02-09 19:29:46 +0000 |
commit | f02d2dd89ee509ebf91c80c2028313349e385f16 (patch) | |
tree | 23eef854176fbdd8ef82bb53b7913bc134630c4d | |
parent | f90e08fe2a64b0402a810a704a00b24c7433f50a (diff) |
Whoups
-rw-r--r-- | include/generic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/generic.h b/include/generic.h index dbdadd2..964501f 100644 --- a/include/generic.h +++ b/include/generic.h @@ -113,6 +113,7 @@ inline T MIN(T a, T b) { #define BX_(x) ((x) - (((x)>>1)&0x77777777) \ - (((x)>>2)&0x33333333) \ - (((x)>>3)&0x11111111)) +#define ISPOT(x) (((x)&(x-1))==0?1:0) #include <sys/types.h> #include <sys/stat.h> |