<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/SignedInteger",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:SZ"
  },
  "title" : "SignedInteger"
}
-->

# SignedInteger

An integer type that can represent both positive and negative values.

```
protocol SignedInteger : BinaryInteger, SignedNumeric
```

## Relationships

### Inherits From

[`Equatable`](/documentation/Swift/Equatable)

[`BinaryInteger`](/documentation/Swift/BinaryInteger)

[`SignedNumeric`](/documentation/Swift/SignedNumeric)

[`Strideable`](/documentation/Swift/Strideable)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`AdditiveArithmetic`](/documentation/Swift/AdditiveArithmetic)

[`ExpressibleByIntegerLiteral`](/documentation/Swift/ExpressibleByIntegerLiteral)

[`Comparable`](/documentation/Swift/Comparable)

[`Numeric`](/documentation/Swift/Numeric)

### Conforming Types

[`Int8`](/documentation/Swift/Int8)

[`Int64`](/documentation/Swift/Int64)

[`Int32`](/documentation/Swift/Int32)

[`Int`](/documentation/Swift/Int)

[`Int16`](/documentation/Swift/Int16)

[`Int128`](/documentation/Swift/Int128)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)