Operatorswift 6.0.3Swift
*=(_:_:)
- iOS
- 18.0+
- macOS
- 15.0+
- tvOS
- 18.0+
- visionOS
- 2.0+
- watchOS
- 11.0+
static func *= (a: inout UInt128, b: UInt128)
static func *= (a: inout UInt128, b: UInt128)
import Swift
@frozen struct UInt128
A 128-bit unsigned integer type.
init<T>(_ source: T) where T : BinaryFloatingPoint
init<T>(_ source: T) where T : BinaryInteger
init(bitPattern: Int128)
init<T>(clamping source: T) where T : BinaryInteger
init?<T>(exactly source: T) where T : BinaryFloatingPoint
init?<T>(exactly source: T) where T : BinaryInteger
init(from decoder: any Decoder) throws
init<T>(truncatingIfNeeded source: T) where T : BinaryInteger
static var bitWidth: Int { get }
static var max: UInt128 { get }
static var min: UInt128 { get }
static var zero: UInt128 { get }
var byteSwapped: UInt128 { get }
var customMirror: Mirror { get }
A mirror that reflects the UInt128
instance.
var leadingZeroBitCount: Int { get }
var magnitude: UInt128 { get }
var nonzeroBitCount: Int { get }
var trailingZeroBitCount: Int { get }
var words: UInt128.Words { get }
static func % (a: UInt128, b: UInt128) -> UInt128
static func %= (a: inout UInt128, b: UInt128)
static func &<<= (a: inout UInt128, b: UInt128)
static func &= (a: inout UInt128, b: UInt128)
static func &>>= (a: inout UInt128, b: UInt128)
static func * (a: UInt128, b: UInt128) -> UInt128
static func + (a: UInt128, b: UInt128) -> UInt128
static func - (a: UInt128, b: UInt128) -> UInt128
static func / (a: UInt128, b: UInt128) -> UInt128
static func /= (a: inout UInt128, b: UInt128)
static func < (a: UInt128, b: UInt128) -> Bool
static func == (a: UInt128, b: UInt128) -> Bool
static func ^= (a: inout UInt128, b: UInt128)
static func |= (a: inout UInt128, b: UInt128)
func addingReportingOverflow(_ other: UInt128) -> (partialValue: UInt128, overflow: Bool)
func dividedReportingOverflow(by other: UInt128) -> (partialValue: UInt128, overflow: Bool)
func encode(to encoder: any Encoder) throws
Encodes this value into the given encoder.
func hash(into hasher: inout Hasher)
func multipliedReportingOverflow(by other: UInt128) -> (partialValue: UInt128, overflow: Bool)
func remainderReportingOverflow(dividingBy other: UInt128) -> (partialValue: UInt128, overflow: Bool)
func subtractingReportingOverflow(_ other: UInt128) -> (partialValue: UInt128, overflow: Bool)
@frozen struct Words
typealias IntegerLiteralType = UInt128
typealias Magnitude = UInt128