Structureswift 6.0.1Swift
SIMD32Storage
Storage for a vector of 32 floating-point values.
@frozen struct SIMD32Storage
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (85) members.
Types
struct SIMD16Storage
Storage for a vector of 16 floating-point values.
struct SIMD2Storage
Storage for a vector of two floating-point values.
struct SIMD4Storage
Storage for a vector of four floating-point values.
struct SIMD64Storage
Storage for a vector of 64 floating-point values.
struct SIMD8Storage
Storage for a vector of eight floating-point values.
Typealiases
Type members
init(
) init(Double
) Creates a new instance initialized to the given value.
init(Float
) Creates a new instance that approximates the given value.
init?(Substring
) init?<S>(S
) Creates a new instance from the given string.
init(Int
) init(Float16
) Creates a new instance that approximates the given value.
init<Source>(Source
) init(bitPattern: UInt64
) Creates a new value with the given bit pattern.
init?(exactly: Double
) Creates a new instance initialized to the given value, if it can be represented without rounding.
init?(exactly: Float
) Creates a new instance initialized to the given value, if it can be represented without rounding.
init?(exactly: Float16
) Creates a new instance initialized to the given value, if it can be represented without rounding.
init?<Source>(exactly: Source
) init(floatLiteral: Double
) init(from: any Decoder
) throws init(integerLiteral: Int64
) init(nan: Double.RawSignificand, signaling: Bool
) Creates a NaN (“not a number”) value with the specified payload.
init(sign: FloatingPointSign, exponent: Int, significand: Double
) init(sign: FloatingPointSign, exponentBitPattern: UInt, significandBitPattern: UInt64
) init(signOf: Double, magnitudeOf: Double
) static var exponentBitCount: Int
static var greatestFiniteMagnitude: Double
static var infinity: Double
static var leastNonzeroMagnitude: Double
static var leastNormalMagnitude: Double
static var nan: Double
static var pi: Double
static var signalingNaN: Double
static var significandBitCount: Int
static var ulpOfOne: Double
The unit in the last place of 1.0.
static func * (lhs: Double, rhs: Double
) -> Double static func *= (lhs: inout Double, rhs: Double
) static func + (lhs: Double, rhs: Double
) -> Double static func += (lhs: inout Double, rhs: Double
) static func - (x: Double
) -> Double static func - (lhs: Double, rhs: Double
) -> Double static func -= (lhs: inout Double, rhs: Double
) static func / (lhs: Double, rhs: Double
) -> Double static func /= (lhs: inout Double, rhs: Double
)
Instance members
var binade: Double
var bitPattern: UInt64
The bit pattern of the value’s encoding.
var customMirror: Mirror
A mirror that reflects the
Double
instance.var debugDescription: String
A textual representation of the value, suitable for debugging.
var description: String
A textual representation of the value.
var exponent: Int
var exponentBitPattern: UInt
var isCanonical: Bool
var isFinite: Bool
var isInfinite: Bool
var isNaN: Bool
var isNormal: Bool
var isSignalingNaN: Bool
var isSubnormal: Bool
var isZero: Bool
var magnitude: Double
var nextUp: Double
var sign: FloatingPointSign
var significand: Double
var significandBitPattern: UInt64
var significandWidth: Int
var ulp: Double
func addProduct(Double, Double
) func advanced(by: Double
) -> Double func distance(to: Double
) -> Double func encode(to: any Encoder
) throws Encodes this value into the given encoder.
func formRemainder(dividingBy: Double
) func formSquareRoot(
) func formTruncatingRemainder(dividingBy: Double
) func hash(into: inout Hasher
) func isEqual(to: Double
) -> Bool func isLess(than: Double
) -> Bool func isLessThanOrEqualTo(Double
) -> Bool func negate(
) func round(FloatingPointRoundingRule
) func write<Target>(to: inout Target
)
Show obsolete interfaces (1)
Hide obsolete interfaces
var customPlaygroundQuickLook: _PlaygroundQuickLook
A custom playground Quick Look for the
Double
instance.
Citizens in Swift
Conformances
protocol BitwiseCopyable
protocol SIMDStorage
A type that can function as storage for a SIMD vector type.
protocol Sendable