In computer science, a signed integer is a data type that can represent both positive and negative whole numbers, using one bit (usually the most significant bit) to indicate the sign. Unsigned integers, by contrast, can only represent non-negative values.