Operatorswift 6.1.2Swift
+(_:_:)
- iOS
- 18.0+
- macOS
- 15.0+
- tvOS
- 18.0+
- visionOS
- 2.0+
- watchOS
- 11.0+
static func + (a: Int128, b: Int128) -> Int128 static func + (a: Int128, b: Int128) -> Int128 import Swift@frozen struct Int128A 128-bit signed integer value type.
init<T>(_ source: T) where T : BinaryFloatingPoint init<T>(_ source: T) where T : BinaryInteger init(bitPattern: UInt128) Creates a new instance with the same memory representation as the given value.
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: Int128 { get }static var min: Int128 { get }static var zero: Int128 { get }var byteSwapped: Int128 { get }var customMirror: Mirror { get }A mirror that reflects the Int128 instance.
var leadingZeroBitCount: Int { get }var magnitude: Int128.Magnitude { get }var nonzeroBitCount: Int { get }var trailingZeroBitCount: Int { get }var words: UInt128.Words { get }static func != (lhs: Int128, rhs: Int128) -> Bool static func % (a: Int128, b: Int128) -> Int128 static func %= (a: inout Int128, b: Int128) static func &* (lhs: Int128, rhs: Int128) -> Int128 static func &<<= (a: inout Int128, b: Int128) static func &= (a: inout Int128, b: Int128) static func &>>= (a: inout Int128, b: Int128) static func * (a: Int128, b: Int128) -> Int128 static func *= (a: inout Int128, b: Int128) static func - (a: Int128, b: Int128) -> Int128 static func / (a: Int128, b: Int128) -> Int128 static func /= (a: inout Int128, b: Int128) static func < (a: Int128, b: Int128) -> Bool static func <= (lhs: Int128, rhs: Int128) -> Bool static func == (a: Int128, b: Int128) -> Bool static func > (lhs: Int128, rhs: Int128) -> Bool static func >= (lhs: Int128, rhs: Int128) -> Bool static func ^= (a: inout Int128, b: Int128) static func |= (a: inout Int128, b: Int128) func addingReportingOverflow(_ other: Int128) -> (partialValue: Int128, overflow: Bool) func dividedReportingOverflow(by other: Int128) -> (partialValue: Int128, 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: Int128) -> (partialValue: Int128, overflow: Bool) func remainderReportingOverflow(dividingBy other: Int128) -> (partialValue: Int128, overflow: Bool) func subtractingReportingOverflow(_ other: Int128) -> (partialValue: Int128, overflow: Bool) typealias IntegerLiteralType = Int128typealias Magnitude = UInt128