SIMD64Storage
Storage for a vector of 64 integers.
@frozen struct SIMD64StorageStorage for a vector of 64 integers.
@frozen struct SIMD64Storageimport Swift@frozen struct Int16A 16-bit signed 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 x: UInt16) Creates a new instance with the same memory representation as the given value.
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: Int16 { get }var customMirror: Mirror { get }A mirror that reflects the Int16 instance.
var leadingZeroBitCount: Int { get }var magnitude: UInt16 { get }var nonzeroBitCount: Int { get }var trailingZeroBitCount: Int { get }var words: Int16.Words { get }static func != (lhs: Int16, rhs: Int16) -> Bool static func % (lhs: Int16, rhs: Int16) -> Int16 static func %= (lhs: inout Int16, rhs: Int16) static func & (lhs: Int16, rhs: Int16) -> Int16 static func &<< (lhs: Int16, rhs: Int16) -> Int16 static func &<<= (lhs: inout Int16, rhs: Int16) static func &= (lhs: inout Int16, rhs: Int16) static func &>> (lhs: Int16, rhs: Int16) -> Int16 static func &>>= (lhs: inout Int16, rhs: Int16) static func * (lhs: Int16, rhs: Int16) -> Int16 static func *= (lhs: inout Int16, rhs: Int16) static func + (lhs: Int16, rhs: Int16) -> Int16 static func += (lhs: inout Int16, rhs: Int16) static func - (lhs: Int16, rhs: Int16) -> Int16 static func -= (lhs: inout Int16, rhs: Int16) static func / (lhs: Int16, rhs: Int16) -> Int16 static func /= (lhs: inout Int16, rhs: Int16) static func < (lhs: Int16, rhs: Int16) -> Bool static func <= (lhs: Int16, rhs: Int16) -> Bool static func == (lhs: Int16, rhs: Int16) -> Bool static func > (lhs: Int16, rhs: Int16) -> Bool static func >= (lhs: Int16, rhs: Int16) -> Bool static func ^ (lhs: Int16, rhs: Int16) -> Int16 static func ^= (lhs: inout Int16, rhs: Int16) static func | (lhs: Int16, rhs: Int16) -> Int16 static func |= (lhs: inout Int16, rhs: Int16) func addingReportingOverflow(_ other: Int16) -> (partialValue: Int16, overflow: Bool) func dividedReportingOverflow(by other: Int16) -> (partialValue: Int16, overflow: Bool) func dividingFullWidth(_ dividend: (high: Int16, low: Int16.Magnitude)) -> (quotient: Int16, remainder: Int16) 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: Int16) -> (high: Int16, low: Int16.Magnitude) func multipliedReportingOverflow(by other: Int16) -> (partialValue: Int16, overflow: Bool) func remainderReportingOverflow(dividingBy other: Int16) -> (partialValue: Int16, overflow: Bool) func signum() -> Int16 func subtractingReportingOverflow(_ other: Int16) -> (partialValue: Int16, 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 SIMD8StorageStorage for a vector of eight integers.
@frozen struct WordsA type that represents the words of this integer.
typealias IntegerLiteralType = Int16A type that represents an integer literal.
typealias Magnitude = UInt16A type that can represent the absolute value of any possible value of this type.
typealias SIMDMaskScalar = Int16var customPlaygroundQuickLook: _PlaygroundQuickLook { get }A custom playground Quick Look for the Int16 instance.
protocol BitwiseCopyable : ~Escapableprotocol SIMDStorageA type that can function as storage for a SIMD vector type.
protocol SendableA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
init() var scalarCount: Int { get }subscript(index: Int) -> Int16 { get set }