Tamanho de inteiros

Página Inicial / ∣V∣+∣E∣ (Gráfico) / Tamanho de inteiros
Tipo Representação mínima Número máximo Precisão decimal em dígitos
char 1 byte, 28 127 2
unsigned char 1 byte, 28 255 2
short 2 bytes, 22*8, 216 32 767 4
unsigned short 2 bytes, 22*8, 216 65 535 4
long 4 bytes, 24*8, 232 ≈ 2⋅109 9
unsigned long 4 bytes, 24*8, 232 ≈ 4⋅109 9
long long 8 bytes, 28*8, 264 ≈ 9⋅1018 18
unsigned long long 8 bytes, 28*8, 264 ≈ 18⋅1018 19
__int128¹ 16 bytes, 216*8, 2128 ≈ 17⋅1037 38
unsigned __int128¹ 16 bytes, 216*8, 2128 ≈ 3⋅1038 38
¹Apenas suportado quando compilado em máquinas de 64 bits.

Quer números maiores?