无符号长长的确切大小应该是多少

What should be the exact size of for unsigned long long

本文关键字:多少 长长的 无符号      更新时间:2023-10-16

unsigned long long的确切typedef应该是多少?
例如:

typedef unsigned int uint32 ;//考虑我的机器阅读
typedef unsigned char byte ;

那么什么是

typedef unsigned long long ______ ;

uint64还是不止于此?

unsigned long long保证大小至少为 64 位。因此,它等效于uint_least64_t

typedef unsigned long long uint_least_64_t

unsigned long long my_variable;

表示my_variable是 64 位(或更多)的无符号整数值

您可能也会发现这一点很有帮助:

无符号长多少字节?

unsigned long long

unsigned long long int

定义为

typedef unsigned long long int uint64_t

标准整数类型