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 significandBitPattern : UInt64The raw encoding of the value’s significand field.
var significandWidth : IntThe number of bits required to represent the value’s significand.
var exponentBitPattern : UIntThe raw encoding of the value’s exponent field.
static var significandBitCount : IntThe available number of fractional significand bits.
static var exponentBitCount : 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(bitPattern : UInt64)Creates a new value with the given bit pattern.
init(sign: FloatingPointSign, exponentBitPattern : UInt, significandBitPattern : UInt64)Creates a new instance from the specified sign and bit patterns.
init(nan: Double.RawSignificand, 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.RawSignificand A type that represents the encoded significand of a value.