我对C中Int变量的值范围感到困惑.
我知道32位unsigned int的范围是:0到65,535.这么久有0到4,294,967,295
这在32位机器上很好.但现在64位机器的所有东西保持不变?或者也许我的int容量不同?
我把这个问题理解为新手,但我真的很困惑.这种方法签名也没有帮助.:)
unsigned long long int atomicAdd(unsigned long long int* address, unsigned long long int val);
Run Code Online (Sandbox Code Playgroud)