SIMD8Storage
Storage for a vector of eight integers.
@frozen struct SIMD8Storage
Storage for a vector of eight integers.
@frozen struct SIMD8Storage
import Swift
@frozen struct UInt64
A 64-bit 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(_ v: Unicode.Scalar)
Construct with value v.value
.
init(bitPattern x: Int64)
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: UInt64 { get }
var customMirror: Mirror { get }
A mirror that reflects the UInt64
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: UInt64.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: UInt64, rhs: UInt64) -> Bool
static func % (lhs: UInt64, rhs: UInt64) -> UInt64
static func %= (lhs: inout UInt64, rhs: UInt64)
static func & (lhs: UInt64, rhs: UInt64) -> UInt64
static func &<< (lhs: UInt64, rhs: UInt64) -> UInt64
static func &<<= (lhs: inout UInt64, rhs: UInt64)
static func &= (lhs: inout UInt64, rhs: UInt64)
static func &>> (lhs: UInt64, rhs: UInt64) -> UInt64
static func &>>= (lhs: inout UInt64, rhs: UInt64)
static func * (lhs: UInt64, rhs: UInt64) -> UInt64
Multiplies two values and produces their product.
static func *= (lhs: inout UInt64, rhs: UInt64)
Multiplies two values and stores the result in the left-hand-side variable.
static func + (lhs: UInt64, rhs: UInt64) -> UInt64
Adds two values and produces their sum.
static func += (lhs: inout UInt64, rhs: UInt64)
Adds two values and stores the result in the left-hand-side variable.
static func - (lhs: UInt64, rhs: UInt64) -> UInt64
Subtracts one value from another and produces their difference.
static func -= (lhs: inout UInt64, rhs: UInt64)
Subtracts the second value from the first and stores the difference in the left-hand-side variable.
static func / (lhs: UInt64, rhs: UInt64) -> UInt64
static func /= (lhs: inout UInt64, rhs: UInt64)
static func < (lhs: UInt64, rhs: UInt64) -> Bool
static func <= (lhs: UInt64, rhs: UInt64) -> Bool
static func == (lhs: UInt64, rhs: UInt64) -> Bool
static func > (lhs: UInt64, rhs: UInt64) -> Bool
static func >= (lhs: UInt64, rhs: UInt64) -> Bool
static func ^ (lhs: UInt64, rhs: UInt64) -> UInt64
static func ^= (lhs: inout UInt64, rhs: UInt64)
static func | (lhs: UInt64, rhs: UInt64) -> UInt64
static func |= (lhs: inout UInt64, rhs: UInt64)
func addingReportingOverflow(_ other: UInt64) -> (partialValue: UInt64, overflow: Bool)
func dividedReportingOverflow(by other: UInt64) -> (partialValue: UInt64, overflow: Bool)
func dividingFullWidth(_ dividend: (high: UInt64, low: UInt64.Magnitude)) -> (quotient: UInt64, remainder: UInt64)
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: UInt64) -> (high: UInt64, low: UInt64.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: UInt64) -> (partialValue: UInt64, overflow: Bool)
func remainderReportingOverflow(dividingBy other: UInt64) -> (partialValue: UInt64, overflow: Bool)
func signum() -> UInt64
func subtractingReportingOverflow(_ other: UInt64) -> (partialValue: UInt64, overflow: Bool)
@frozen struct SIMD16Storage
Storage for a vector of 16 integers.
@frozen struct SIMD2Storage
Storage for a vector of two integers.
@frozen struct SIMD32Storage
Storage for a vector of 32 integers.
@frozen struct SIMD4Storage
Storage for a vector of four integers.
@frozen struct SIMD64Storage
Storage for a vector of 64 integers.
@frozen struct Words
A type that represents the words of this integer.
typealias IntegerLiteralType = UInt64
A type that represents an integer literal.
typealias Magnitude = UInt64
A type that can represent the absolute value of any possible value of this type.
typealias SIMDMaskScalar = Int64
var customPlaygroundQuickLook: _PlaygroundQuickLook { get }
A custom playground Quick Look for the UInt64
instance.
protocol BitwiseCopyable
protocol SIMDStorage
A type that can function as storage for a SIMD vector type.
protocol Sendable
init()
var scalarCount: Int { get }
subscript(index: Int) -> UInt64 { get set }