<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/Float80/init(_:)-6dyii",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:s7Float80VyA2Bcfc"
  },
  "title" : "init(_:)"
}
-->

# init(_:)

Creates a new instance initialized to the given value.

```
init(_ other: Float80)
```

## Parameters

`other`

The value to use for the new instance.

## Discussion

The value of `other` is represented exactly by the new instance. A NaN
passed as `other` results in another NaN, with a signaling NaN value
converted to quiet NaN.

```
let x: Float80 = 21.25
let y = Float80(x)
// y == 21.25

let z = Float80(Float80.nan)
// z.isNaN == true
```

---

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)