<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/Int128",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:s6Int128V"
  },
  "title" : "Int128"
}
-->

# Int128

A 128-bit signed integer value type.

```
@frozen struct Int128
```

## Topics

### Operators

[`static func != (Int128, Int128) -> Bool`](/documentation/Swift/Int128/!=(_:_:))

### Initializers

[`init(bitPattern: UInt128)`](/documentation/Swift/Int128/init(bitPattern:))

Creates a new instance with the same memory representation as the given
value.

### Default Implementations

[AdditiveArithmetic Implementations](/documentation/Swift/Int128/AdditiveArithmetic-Implementations)

[AtomicRepresentable Implementations](/documentation/Swift/Int128/AtomicRepresentable-Implementations)

[BinaryInteger Implementations](/documentation/Swift/Int128/BinaryInteger-Implementations)

[Comparable Implementations](/documentation/Swift/Int128/Comparable-Implementations)

[CustomReflectable Implementations](/documentation/Swift/Int128/CustomReflectable-Implementations)

[Decodable Implementations](/documentation/Swift/Int128/Decodable-Implementations)

[Encodable Implementations](/documentation/Swift/Int128/Encodable-Implementations)

[Equatable Implementations](/documentation/Swift/Int128/Equatable-Implementations)

[ExpressibleByIntegerLiteral Implementations](/documentation/Swift/Int128/ExpressibleByIntegerLiteral-Implementations)

[FixedWidthInteger Implementations](/documentation/Swift/Int128/FixedWidthInteger-Implementations)

[Hashable Implementations](/documentation/Swift/Int128/Hashable-Implementations)

[Numeric Implementations](/documentation/Swift/Int128/Numeric-Implementations)

[SignedInteger Implementations](/documentation/Swift/Int128/SignedInteger-Implementations)

[SignedNumeric Implementations](/documentation/Swift/Int128/SignedNumeric-Implementations)

[Strideable Implementations](/documentation/Swift/Int128/Strideable-Implementations)

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[`AtomicRepresentable`](/documentation/Synchronization/AtomicRepresentable)

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

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

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

---

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)