]> www.ginac.de Git - cln.git/blobdiff - src/base/cl_low.h
* src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
[cln.git] / src / base / cl_low.h
index 542078d368fa63882bfbad87d901cfad3e65afa0..d146f2788f668db56b2db6c3f2754d45c67e207e 100644 (file)
@@ -1297,9 +1297,9 @@ inline uint32 mulu32_unchecked (uint32 arg1, uint32 arg2)
   // Bits von x64 zählen: (Input x64, Output x64)
   #define logcount_64()  \
     ( /* x64 besteht aus 64 1-Bit-Zählern (0,1).                             */\
-      x64 = (x64 & 0x5555555555555555UL) + ((x64 & 0xAAAAAAAAAAAAAAAAUL) >> 1),\
+      x64 = (x64 & 0x5555555555555555ULL) + ((x64 & 0xAAAAAAAAAAAAAAAAULL) >> 1),\
       /* x64 besteht aus 32 2-Bit-Zählern (0,1,2).                           */\
-      x64 = (x64 & 0x3333333333333333UL) + ((x64 & 0xCCCCCCCCCCCCCCCCUL) >> 2),\
+      x64 = (x64 & 0x3333333333333333ULL) + ((x64 & 0xCCCCCCCCCCCCCCCCULL) >> 2),\
       /* x64 besteht aus 16 4-Bit-Zählern (0,1,2,3,4).                       */\
       x64 = (uint32)(x64 + (x64 >> 32)),                                      \
       /* x64 besteht aus 8 4-Bit-Zählern (0,...,8).                          */\