---
title: "init(sign:exponentBitPattern:significandBitPattern:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/binaryfloatingpoint/init(sign:exponentbitpattern:significandbitpattern:)"
---

# init(sign:exponentBitPattern:significandBitPattern:)

Creates a new instance from the specified sign and bit patterns.

## Declaration

```swift
init(sign: FloatingPointSign, exponentBitPattern: Self.RawExponent, significandBitPattern: Self.RawSignificand)
```

## Parameters

- `sign`: The sign of the new value.
- `exponentBitPattern`: The bit pattern to use for the exponent field of the new value.
- `significandBitPattern`: The bit pattern to use for the significand field of the new value.

## Discussion

Discussion The values passed as exponentBitPattern and significandBitPattern are interpreted in the binary interchange format defined by the IEEE 754 specification.

## See Also

### Working with Binary Representation

- [binade](swift/binaryfloatingpoint/binade.md)
- [exponentBitPattern](swift/binaryfloatingpoint/exponentbitpattern.md)
- [significandBitPattern](swift/binaryfloatingpoint/significandbitpattern.md)
- [significandWidth](swift/binaryfloatingpoint/significandwidth.md)
- [exponentBitCount](swift/binaryfloatingpoint/exponentbitcount.md)
- [significandBitCount](swift/binaryfloatingpoint/significandbitcount.md)
- [RawExponent](swift/binaryfloatingpoint/rawexponent.md)
- [RawSignificand](swift/binaryfloatingpoint/rawsignificand.md)
