1 /* 2 二进制乘法 3 */ 4 #include <stdio.h> 5 #include <stdlib.h> 6 #define LEN 64 //因子二进制位数的两倍,32位乘法结果不会超过64位 7 8 int main() 9 { 10 unsigned int a = 0x13131313; 11 unsigned int b = 0x23232323; 12 unsig
C实现二进制乘法
最新推荐文章于 2023-01-13 12:08:51 发布
1 /* 2 二进制乘法 3 */ 4 #include <stdio.h> 5 #include <stdlib.h> 6 #define LEN 64 //因子二进制位数的两倍,32位乘法结果不会超过64位 7 8 int main() 9 { 10 unsigned int a = 0x13131313; 11 unsigned int b = 0x23232323; 12 unsig