A type that represents the encoded significand of a value.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
A type that represents the encoded significand of a value.
SDK
Framework
var bit Pattern: UInt64
The bit pattern of the value’s encoding.
var significand Bit Pattern: UInt64
The raw encoding of the value’s significand field.
var significand Width: Int
The number of bits required to represent the value’s significand.
var exponent Bit Pattern: UInt
The raw encoding of the value’s exponent field.
static var significand Bit Count: Int
The available number of fractional significand bits.
static var exponent Bit Count: Int
The number of bits used to represent the type’s exponent.
static var radix: Int
The radix, or base of exponentiation, for this floating-point type.
init(bit Pattern: UInt64)
Creates a new value with the given bit pattern.
init(sign: Floating Point Sign, exponent Bit Pattern: UInt, significand Bit Pattern: UInt64)
Creates a new instance from the specified sign and bit patterns.
init(nan: Double .Raw Significand, signaling: Bool)
Creates a NaN (“not a number”) value with the specified payload.
typealias Double .Exponent
A type that can represent any written exponent.