SIMD8Storage
Storage for a vector of eight integers.
You’re reading documentation from an older version of Swift 6.1.
A symbol with the same signature as this one exists in the latest stable release of Swift 6.1.
@frozen struct SIMD8StorageStorage for a vector of eight integers.
You’re reading documentation from an older version of Swift 6.1.
A symbol with the same signature as this one exists in the latest stable release of Swift 6.1.
@frozen struct SIMD8Storageimport Swift@frozen struct UIntAn unsigned integer value type.
init(_ source: Double) Creates an integer from the given floating-point value, rounding toward zero.
init(_ source: Float) Creates an integer from the given floating-point value, rounding toward zero.
init(_ source: Float16) Creates an integer from the given floating-point value, rounding toward zero.
init(bitPattern objectID: ObjectIdentifier) Creates an integer that captures the full value of the given object identifier.
init(bitPattern x: Int) Creates a new instance with the same memory representation as the given value.
init(bitPattern pointer: OpaquePointer?) Creates a new value with the bit pattern of the given pointer.
init<P>(bitPattern pointer: P?) where P : _Pointer Creates a new value with the bit pattern of the given pointer.
init?(exactly source: Double) Creates an integer from the given floating-point value, if it can be represented exactly.
init?(exactly source: Float) Creates an integer from the given floating-point value, if it can be represented exactly.
init?(exactly source: Float16) Creates an integer from the given floating-point value, if it can be represented exactly.
init(from decoder: any Decoder) throws static var bitWidth: Int { get }The number of bits used for the underlying binary representation of values of this type.
var byteSwapped: UInt { get }var customMirror: Mirror { get }A mirror that reflects the UInt instance.
var leadingZeroBitCount: Int { get }The number of leading zeros in this value’s binary representation.
var nonzeroBitCount: Int { get }var trailingZeroBitCount: Int { get }The number of trailing zeros in this value’s binary representation.
var words: UInt.Words { get }A collection containing the words of this value’s binary representation, in order from the least significant to most significant.
static func != (lhs: UInt, rhs: UInt) -> Bool static func % (lhs: UInt, rhs: UInt) -> UInt static func %= (lhs: inout UInt, rhs: UInt) static func & (lhs: UInt, rhs: UInt) -> UInt static func &<< (lhs: UInt, rhs: UInt) -> UInt static func &<<= (lhs: inout UInt, rhs: UInt) static func &= (lhs: inout UInt, rhs: UInt) static func &>> (lhs: UInt, rhs: UInt) -> UInt static func &>>= (lhs: inout UInt, rhs: UInt) static func * (lhs: UInt, rhs: UInt) -> UInt Multiplies two values and produces their product.
static func *= (lhs: inout UInt, rhs: UInt) Multiplies two values and stores the result in the left-hand-side variable.
static func + (lhs: UInt, rhs: UInt) -> UInt Adds two values and produces their sum.
static func += (lhs: inout UInt, rhs: UInt) Adds two values and stores the result in the left-hand-side variable.
static func - (lhs: UInt, rhs: UInt) -> UInt Subtracts one value from another and produces their difference.
static func -= (lhs: inout UInt, rhs: UInt) Subtracts the second value from the first and stores the difference in the left-hand-side variable.
static func / (lhs: UInt, rhs: UInt) -> UInt static func /= (lhs: inout UInt, rhs: UInt) static func < (lhs: UInt, rhs: UInt) -> Bool static func <= (lhs: UInt, rhs: UInt) -> Bool static func == (lhs: UInt, rhs: UInt) -> Bool static func > (lhs: UInt, rhs: UInt) -> Bool static func >= (lhs: UInt, rhs: UInt) -> Bool static func ^ (lhs: UInt, rhs: UInt) -> UInt static func ^= (lhs: inout UInt, rhs: UInt) static func | (lhs: UInt, rhs: UInt) -> UInt static func |= (lhs: inout UInt, rhs: UInt) func addingReportingOverflow(_ other: UInt) -> (partialValue: UInt, overflow: Bool) func dividedReportingOverflow(by other: UInt) -> (partialValue: UInt, overflow: Bool) func dividingFullWidth(_ dividend: (high: UInt, low: UInt.Magnitude)) -> (quotient: UInt, remainder: UInt) Returns a tuple containing the quotient and remainder of dividing the given value by this value.
func encode(to encoder: any Encoder) throws Encodes this value into the given encoder.
func hash(into hasher: inout Hasher) Hashes the essential components of this value by feeding them into the given hasher.
func multipliedFullWidth(by other: UInt) -> (high: UInt, low: UInt.Magnitude) Returns a tuple containing the high and low parts of the result of multiplying this value by the given value.
func multipliedReportingOverflow(by other: UInt) -> (partialValue: UInt, overflow: Bool) func remainderReportingOverflow(dividingBy other: UInt) -> (partialValue: UInt, overflow: Bool) func signum() -> UInt func subtractingReportingOverflow(_ other: UInt) -> (partialValue: UInt, overflow: Bool) @frozen struct SIMD16StorageStorage for a vector of 16 integers.
@frozen struct SIMD2StorageStorage for a vector of two integers.
@frozen struct SIMD32StorageStorage for a vector of 32 integers.
@frozen struct SIMD4StorageStorage for a vector of four integers.
@frozen struct SIMD64StorageStorage for a vector of 64 integers.
@frozen struct WordsA type that represents the words of this integer.
typealias IntegerLiteralType = UIntA type that represents an integer literal.
typealias Magnitude = UIntA type that can represent the absolute value of any possible value of this type.
typealias SIMDMaskScalar = Intvar customPlaygroundQuickLook: _PlaygroundQuickLook { get }A custom playground Quick Look for the UInt instance.
protocol BitwiseCopyableprotocol SIMDStorageA type that can function as storage for a SIMD vector type.
protocol Sendableinit() var scalarCount: Int { get }subscript(index: Int) -> UInt { get set }