<!--
{
  "documentType" : "article",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/Float80/BinaryFloatingPoint-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "BinaryFloatingPoint Implementations"
}
-->

# BinaryFloatingPoint Implementations

## Topics

### Initializers

[`init(Double)`](/documentation/Swift/Float80/init(_:)-4rh2n)

Creates a new instance that approximates the given value.

[`init(Float)`](/documentation/Swift/Float80/init(_:)-5jn4i)

Creates a new instance that approximates the given value.

[`init<Source>(Source)`](/documentation/Swift/Float80/init(_:)-5yold)

Creates a new instance from the given value, rounded to the closest
possible representation.

[`init(Float80)`](/documentation/Swift/Float80/init(_:)-6dyii)

Creates a new instance initialized to the given value.

[`init<Source>(Source)`](/documentation/Swift/Float80/init(_:)-8p2oa)

Creates a new value, rounded to the closest possible representation.

[`init?<Source>(exactly: Source)`](/documentation/Swift/Float80/init(exactly:)-5ggvi)

Creates a new value, if the given integer can be represented exactly.

[`init?<Source>(exactly: Source)`](/documentation/Swift/Float80/init(exactly:)-9oml5)

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

[`init(sign: FloatingPointSign, exponentBitPattern: UInt, significandBitPattern: UInt64)`](/documentation/Swift/Float80/init(sign:exponentBitPattern:significandBitPattern:))

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

### Instance Properties

[`var binade: Float80`](/documentation/Swift/Float80/binade)

The floating-point value with the same sign and exponent as this value,
but with a significand of 1.0.

[`var exponentBitPattern: UInt`](/documentation/Swift/Float80/exponentBitPattern)

The raw encoding of the value’s exponent field.

[`var significandBitPattern: UInt64`](/documentation/Swift/Float80/significandBitPattern)

The raw encoding of the value’s significand field.

[`var significandWidth: Int`](/documentation/Swift/Float80/significandWidth)

The number of bits required to represent the value’s significand.

### Type Aliases

[`typealias RawExponent`](/documentation/Swift/Float80/RawExponent)

A type that represents the encoded exponent of a value.

[`typealias RawSignificand`](/documentation/Swift/Float80/RawSignificand)

A type that represents the encoded significand of a value.

### Type Properties

[`static var exponentBitCount: Int`](/documentation/Swift/Float80/exponentBitCount)

The number of bits used to represent the type’s exponent.

[`static var significandBitCount: Int`](/documentation/Swift/Float80/significandBitCount)

The available number of fractional significand bits.

### Type Methods

[`static func random(in: Range<Self>) -> Self`](/documentation/Swift/Float80/random(in:)-3nivi)

Returns a random value within the specified range.

[`static func random(in: ClosedRange<Self>) -> Self`](/documentation/Swift/Float80/random(in:)-5zpax)

Returns a random value within the specified range.

[`static func random<T>(in: ClosedRange<Self>, using: inout T) -> Self`](/documentation/Swift/Float80/random(in:using:)-2llvb)

Returns a random value within the specified range, using the given
generator as a source for randomness.

[`static func random<T>(in: Range<Self>, using: inout T) -> Self`](/documentation/Swift/Float80/random(in:using:)-lxqd)

Returns a random value within the specified range, using the given
generator as a source for randomness.

---

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)