---
title: "init(_:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/float80/init(_:)-6dyii"
---

# init(_:)

Creates a new instance initialized to the given value.

## Declaration

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

## Parameters

- `other`: The value to use for the new instance.

## Discussion

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
