Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Integer type, width?

Também chamado de: integer type · width (of an integer type)

Definition 2.1 University Computer Science — Year 1 · Capítulo 2 — C: Types, Operators and Control Flow

An integer type of C is a set of whole numbers stored in a fixed number of bits, its width: char, short, int, long and long long, each signed (two’s complement) or unsigned. The standard only sets minimum widths (8, 16, 16, 32 and 64 bits); each machine chooses the real ones. The header <stdint.h> adds types of an exact width: int8_t to int64_t, and uint8_t to uint64_t.

Ler no capítulo →