<!--
{
  "availability" : [
    "iOS: 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" : "P256K",
  "identifier" : "/documentation/P256K/Int256/init(bitPattern:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "P256K"
    ],
    "preciseIdentifier" : "s:5P256K6Int256V10bitPatternAcA7UInt256V_tcfc"
  },
  "title" : "init(bitPattern:)"
}
-->

# init(bitPattern:)

Creates an `Int256` with the same bit pattern as an unsigned [`UInt256`](/documentation/P256K/UInt256) value.

```
init(bitPattern source: UInt256)
```

## Parameters

`source`

The unsigned value whose bits are reinterpreted.

## Discussion

Preserves the raw 256 bits verbatim; unsigned values ≥ `2^255` become negative
`Int256` values via two’s-complement interpretation.