Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Integer type, width » ?

Aussi appelé : integer type · width (of an integer type)

Definition 2.1 University Computer Science — Year 1 · Chapitre 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.

Lire dans le chapitre →