diff options
author | Yen-Sheng Ho <ysho@berkeley.edu> | 2017-06-06 23:16:55 -0700 |
---|---|---|
committer | Yen-Sheng Ho <ysho@berkeley.edu> | 2017-06-06 23:16:55 -0700 |
commit | 584e28e8f4f8beb70e577c38719f8e7b532123e1 (patch) | |
tree | d8a78ae811e2a1cd14f88518d574e90a58d0aed2 /src/misc/extra/extraUtilCube.c | |
parent | 10f5e944c99626d5f8e68aa874e43462569cabf7 (diff) | |
parent | e140ef7e5a45b23823bdf1189070573439966ac8 (diff) | |
download | abc-584e28e8f4f8beb70e577c38719f8e7b532123e1.tar.gz abc-584e28e8f4f8beb70e577c38719f8e7b532123e1.tar.bz2 abc-584e28e8f4f8beb70e577c38719f8e7b532123e1.zip |
merge
Diffstat (limited to 'src/misc/extra/extraUtilCube.c')
-rw-r--r-- | src/misc/extra/extraUtilCube.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/extra/extraUtilCube.c b/src/misc/extra/extraUtilCube.c index c053e23a..f518405b 100644 --- a/src/misc/extra/extraUtilCube.c +++ b/src/misc/extra/extraUtilCube.c @@ -159,8 +159,8 @@ Iter 12 -> 3674160 Time = 70.48 sec SeeAlso [] ***********************************************************************/ -static inline int Abc_DataHasBit( word * p, word i ) { return (p[(i)>>6] & (1<<((i) & 63))) > 0; } -static inline void Abc_DataXorBit( word * p, word i ) { p[(i)>>6] ^= (1<<((i) & 63)); } +static inline int Abc_DataHasBit( word * p, word i ) { return (p[(i)>>6] & (((word)1)<<((i) & 63))) > 0; } +static inline void Abc_DataXorBit( word * p, word i ) { p[(i)>>6] ^= (((word)1)<<((i) & 63)); } static inline int Abc_DataGetCube( word w, int i ) { return (w >> (5*i)) & 31; } static inline word Abc_DataXorCube( word w, int i, int c ) { return w ^ (((word)c) << (5*i)); } static inline word Abc_CubeGenerateSign( char * pState ) |