Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Unsigned integer, n-bit integer?

Também chamado de: n-bit integer · unsigned integer

Definition 3.1 High School Computer Science · Capítulo 3 — Integers in the Machine

An nn-bit integer is a whole number stored in exactly nn bits, bn−1…b1b0b_{n-1} \dots b_1 b_0. Read as an unsigned integer, its value is bn−12n−1+⋯+b12+b0b_{n-1} 2^{n-1} + \dots + b_1 2 + b_0. The usual sizes are 88 bits (one byte), 1616, 3232 and 6464 bits.

Ler no capítulo →