int main()
{
//long long test = ((393 <<32) | (1619052672));
long long i=393;
long long test = (i<<32)|2310251672;
printf("%lld, \n", test);
system("pause");
return 0;
}
C++左移超过32位bug
最新推荐文章于 2024-04-25 12:18:13 发布
int main()
{
//long long test = ((393 <<32) | (1619052672));
long long i=393;
long long test = (i<<32)|2310251672;
printf("%lld, \n", test);
system("pause");
return 0;
}