The bit pattern of the value’s encoding.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
var bitPattern: UInt64 { get }
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
var bitPattern: UInt64 { get }
The bit pattern matches the binary interchange format defined by the IEEE 754 specification.
var significand Bit Pattern: UInt64The raw encoding of the value’s significand field.
var significand Width: IntThe number of bits required to represent the value’s significand.
var exponent Bit Pattern: UIntThe raw encoding of the value’s exponent field.
static var significand Bit Count: IntThe available number of fractional significand bits.
static var exponent Bit Count: IntThe number of bits used to represent the type’s exponent.
static var radix: IntThe 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 .ExponentA type that can represent any written exponent.
typealias Double .Raw SignificandA type that represents the encoded significand of a value.