Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Sign extension?

Definition 6.11 University Computer Science — Year 1 · Capítulo 6 — Strings, Structures and Files

Sign extension is the widening of a signed integer to more bits by copying its sign bit into all the new high bits, which keeps its value in two’s complement: the byte f0 read as a signed char (−16-16) becomes fffffff0, still −16-16. An unsigned value is widened by zeros instead.

Ler no capítulo →