Signed Integer

Noun · Development

Definitions

  1. An integer data type that uses one bit (typically the most significant) to represent sign, allowing it to store both positive and negative values. A 32-bit signed integer (int32) ranges from −2,147,483,648 to 2,147,483,647, using two's complement representation on virtually all modern hardware.

    In plain English: A whole number in a computer that can be positive or negative, unlike an unsigned integer which can only be zero or positive.

    Example: "The timestamp delta can go negative, so make sure you're using a signed integer, not a uint."

Related Terms