The bit pattern of the value’s encoding.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
Discussion
The bit pattern matches the binary interchange format defined by the IEEE 754 specification.
The bit pattern of the value’s encoding.
SDK
Framework
The bit pattern matches the binary interchange format defined by the IEEE 754 specification.
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.
typealias Double .Raw Significand
A type that represents the encoded significand of a value.