<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/Float80/init(exactly:)-9oml5",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:SBsE7exactlyxSgqd___tcSBRd__lufc::SYNTHESIZED::s:s7Float80V"
  },
  "title" : "init(exactly:)"
}
-->

# init(exactly:)

Creates a new instance from the given value, if it can be represented
exactly.

```
init?<Source>(exactly value: Source) where Source : BinaryFloatingPoint
```

## Parameters

`value`

A floating-point value to be converted.

## Discussion

If the given floating-point value cannot be represented exactly, the
result is `nil`.

---

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)